I have a website hosted by AWS EC2 Oregon and managed by Cloudflare. I let my teammate test the loading time (in France) of the following files while disable cache in Google Dev Tools.
I’m getting a value consistent with the size and the speed of my connection (18 Mbps), so the ~1MB file when gzipped downloads in about half a second and they are hitting Cloudflare’s cache in Frankfurt. What download times does he get?
Well being in China certainly explain a lot the high 200ms ping. Would you mind also trying a Speedtest towards Los Angeles (you are connecting there, since in the Free plan there is no China network). Otherwise everything seems as expected, the cache is hit…
I am in france, and do the same test as you suggested. Here is the results.
PING www.matrixlead.com (104.28.19.49): 56 data bytes
64 bytes from 104.28.19.49: icmp_seq=0 ttl=59 time=23.869 ms
64 bytes from 104.28.19.49: icmp_seq=1 ttl=59 time=22.779 ms
64 bytes from 104.28.19.49: icmp_seq=2 ttl=59 time=23.189 ms
64 bytes from 104.28.19.49: icmp_seq=3 ttl=59 time=20.717 ms
64 bytes from 104.28.19.49: icmp_seq=4 ttl=59 time=20.346 ms
… …
traceroute: Warning: www.matrixlead.com has multiple addresses; using 104.28.19.49
traceroute to www.matrixlead.com (104.28.19.49), 64 hops max, 52 byte packets
1 bbox.lan (192.168.1.254) 3.230 ms 1.994 ms 3.967 ms
2 lcs07-lyo-176-188-192-2.sfr.lns.abo.bbox.fr (176.188.192.2) 12.213 ms 12.348 ms 11.457 ms
3 be23.cbr01-ntr.net.bbox.fr (212.194.171.40) 24.098 ms 23.435 ms 19.780 ms
4 * la13.rpt02-ix2.net.bbox.fr (212.194.171.90) 20.126 ms 20.200 ms
5 Cloudflare.par.franceix.net (37.49.237.49) 20.116 ms 20.186 ms 21.382 ms
6 104.28.19.49 (104.28.19.49) 24.994 ms 20.826 ms 19.764 ms
fl=19f166
h=www.matrixlead.com
ip=176.132.174.174
ts=1527508166.772
visit_scheme=http
uag=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15
colo=CDG
spdy=off
http=http/1.1
loc=FR
curl -I http://www.matrixlead.com/editor.js
HTTP/1.1 200 OK
Date: Mon, 28 May 2018 11:50:06 GMT
Content-Type: application/javascript
Connection: keep-alive
Set-Cookie: __cfduid=d009eeb143b0f3b3c0ca110a97f39e9781527508206; expires=Tue, 28-May-19 11:50:06 GMT; path=/; domain=.matrixlead.com; HttpOnly
Last-Modified: Sun, 27 May 2018 12:11:49 GMT
ETag: W/"d12eb8e3b3f5d31:0"
Vary: Accept-Encoding
X-Powered-By: ASP.NET
CF-Cache-Status: HIT
Expires: Mon, 28 May 2018 15:50:06 GMT
Cache-Control: public, max-age=14400
Server: Cloudflare
CF-RAY: 4220807064826950-CDG
$ curl -I http://www.matrixlead.com
HTTP/1.1 200 OK
Date: Mon, 28 May 2018 11:50:50 GMT
Content-Type: text/html
Connection: keep-alive
Set-Cookie: __cfduid=d56cf18653d6ccac00da66294b7d4f2be1527508249; expires=Tue, 28-May-19 11:50:49 GMT; path=/; domain=.matrixlead.com; HttpOnly
Last-Modified: Sun, 27 May 2018 12:01:44 GMT
Vary: Accept-Encoding
X-Powered-By: ASP.NET
Server: Cloudflare
CF-RAY: 42208180c2756950-CDG
$ curl -I http://www.matrixlead.com/monaco-editor/min/vs/editor/editor.main.js
HTTP/1.1 200 OK
Date: Mon, 28 May 2018 11:51:25 GMT
Content-Type: application/javascript
Connection: keep-alive
Set-Cookie: __cfduid=dd133acf06d5c2aed0bf927bd4c57dfa31527508284; expires=Tue, 28-May-19 11:51:24 GMT; path=/; domain=.matrixlead.com; HttpOnly
Last-Modified: Mon, 03 Jul 2017 13:56:49 GMT
ETag: W/"80662e374f4d21:0"
Vary: Accept-Encoding
X-Powered-By: ASP.NET
CF-Cache-Status: REVALIDATED
Expires: Mon, 28 May 2018 15:51:25 GMT
Cache-Control: public, max-age=14400
Server: Cloudflare
CF-RAY: 4220825d02ca68d2-CDG
That’s a pretty good result, actually. Have you tried clearing your cache/cookies + changing browser? It shouldn’t help, but never say never.
Gonna try and call for some additional advice here from @sdayman, @MarkMeyer and @cs-cf. With that connection (actually faster than my current one) it seems impossible it would take 40+ second to download a file from cache, especially if under 1MB!