I’m running my site hackso.me hosted by GitHub Pages.
Without CF
curl -v -ko /dev/null -H 'Cache-Control: no-cache' -s -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" "https://hackso.me/" --resolve 'hackso.me:443:185.199.109.153'
< x-served-by: cache-sin18044-SIN
Connect: 0.004530 TTFB: 0.038793 Total time: 0.045935
With CF
curl -v -ko /dev/null -H 'Cache-Control: no-cache' -s -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" "https://hackso.me/"
< cf-ray: 58aa7e418ae30449-MIA
< cf-request-id: 025e6d3cf000000449db28e200000001
< x-served-by: cache-mia17621-MIA
Connect: 0.237563 TTFB: 0.810612 Total time: 1.042128
Tested in Singapore. For the life of me, I can’t figure out why the difference is so huge. I also enabled static HTML caching via Page Rule.
The cf-ray
shows MIA. Shouldn’t it be SIN? I did some tests with WebPageTest in different locations. They showed the correct datacenter location except Singapore.