4 ms·
Just checked my site[0] and got 247kb[1] Uncompressed and 136kb compressed, the only improvements I can see is reduce image sizes and remove third party JS code
by hankchinaski 5y ago
Just checked my site[0] and got 247kb[1] Uncompressed and 136kb compressed, the only improvements I can see is reduce image sizes and remove third party JS code, mostly injected by Cloudflare.
[0] https://golang.cafe https://golang.cafe
[1] https://gtmetrix.com/reports/golang.cafe/7PvRciZS/ https://gtmetrix.com/reports/golang.cafe/7PvRciZS/
edit: 215kb after removing unnecessary js third-parties (instant.page and CF rocket loader) https://gtmetrix.com/reports/golang.cafe/Xey7C7LM/ https://gtmetrix.com/reports/golang.cafe/Xey7C7LM/
ps: also the site is not a static site, it connects to postgresql and serves 2,000 requests daily on avg
- marginalia_nu 5y agoCloudFlare's supposed acceleration has been a bit underwhelming. I was diagnosing some problems with latencies and it turns out that CF adds a good 200 ms to my page loads (making them load at about 400ms instead of 200ms*), meanwhile, their own tests claim they're able to reduce my page loads down to a roaring 700 ms from the 1 second default. * depending on location
- hankchinaski 5y agoCouldn't see much difference in UX from using CF rocket loader and also instant.page js plugin so I will probably get rid of those too
- lelandfe 5y agoYour TTFB is pretty darn high for some reason, maybe a server side caching issue? Loading should be effectively instant otherwise, good job getting all critical assets inlined. You could also mark the company images as `loading="lazy"` – though you may intentionally be eagerly loading all of those now.
- hankchinaski 5y agoyes the TTFB is probably because my application logic and database queries are not optimised at all. I guess that is my next step, I have to do some profiling to figure out why. Probably just slow db query/slow database