Hey guys,
I wanted to start a discussion around the topic of page speed optimization. What are your best practices and how do you make sure that your pages are fast?
In our specific case we are experiencing slow TTFB (time to first byte) times (around 2s) when testing in GTMetrix or Google’s Page Speed Insights. This is something that I don’t understand because if you load the page for a second time right after, the TTFB is super fast.
We already did these optimizations:
- Lazy loaded all iframes until they come into view
- We optimized all images and only use WebP
- We use SVGs where we can
- Only use third-party scripts on pages where we need them
- Disabled tracking on all video embeds like Vimeo or Wistia
Other options we were considering were:
- Lazy loading all third-party scripts on first user interaction (like scroll or mouse movement) and embeding them via Google Tag Manager
- Embeding our Trustpilot badges as SVGs and link to our profile (problem is that Trustpilot does not allow that)
Does anyone have some tips or hacks on how to squeeze everything out of Webflow’s performance?