24 webperf tips for a faster site

Sommaire

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
Sommaire
Test your site's performance in 1 click

Published by

Share!

Discover other articles…

Illustration: three beams of light arrive at the entrance to a site; two pass through, whilst the third is stopped – just like authorised or blocked AI crawlers

GPTBot, ClaudeBot, PerplexityBot: three families of AI crawlers, three different approaches. How to identify them, verify them and decide which ones to allow through.

…
Illustration : une acheteuse avec un sac de shopping marche dans la neige vers une porte ouverte d'où jaillit une lumière orange chaleureuse, avec des cadeaux posés devant, comme un site prêt à accueillir ses visiteurs le jour du Black Friday

Black Friday is on 27 November and the code freeze is close. Eight things to check this week: key pages, FAQs, prices, crawlers, peak-day speed

…
E-commerce: getting your website ready

AI assistants already read e-commerce sites, and agents are starting to act on them. What changes for your site and the technical work to plan

…

Boost your site speed now with EdgeSpeed!