A tech advent calendar

Fasterize offers you 24 tips to make your website and page display faster.
Better than an advent calendar, you don’t have to wait for a new chocolate every day: you can eat them all immediately. Enjoy!

  1. The quickest request is the one you don’t make. So remember to cache as many elements as possible.
  2. Do you do A/B testing? Don’t load your A/B test tag via another tag.
  3. Don’t preload everything, but only what the browser can’t discover on its own.
  4. Clean up your CSS!
  5. Clean up your JS too, especially on mobile, where parsing and execution take much longer.
  6. Compress everything you can with the formats at your disposal: WOFF2, brotli, WebP…
  7. Let your browser breathe: delay the loading of your third-parts as much as possible.
  8. Test your webperf optimizations before validating them, because poorly applied best practices can be counterproductive.
  9. Don’t lazyload images visible above the waterline.
  10. Measure your performance over time in a controlled environment with Synthetic monitoring.
  11. Switch to HTTP/2 to offset the impact of HTTPS.
  12. Implement TLS optimizations (OCSP Stapling, Session Resumption, TLS False Start, TLS 1.3).
  13. If you’re using HTTP/2, remove sharding for elements in the critical path.
  14. Beware of SPOF: a third-party script loaded synchronously can block an entire page!
  15. For mobile devices, prefer an adaptive or even responsive site to a dedicated one.
  16. You can preload the JSON of your XHR requests in JSONP!
  17. Use a CDN to relieve your servers 😉
  18. Explore the use of Service Workers in your caching strategies.
  19. Be careful when using webfonts! Don’t load a font with 100 icons if you only use 3 🙂
  20. Prefer the .mp4 format, which is much more efficient than .gif.
  21. Experiment with critical CSS to speed up page loading.
  22. Throw jQuery in the garbage can, prefer Zepto. Or better still, code in native JS!
  23. Don’t forget your servers’ response times, and limit your exchanges with them.
  24. Have a great holiday!

Would you like to know what optimizations you need and automate them?

 

Request your free speed diagnostic

Leave a Reply