Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

CDN Planet

How to Improve TTFB on Cloudflare with Speculation Rules

  • Nicolas Hoizey
  • 31 October 2023
  • WebPerf
Screenshot of “How to Improve TTFB on Cloudflare with Speculation Rules”

https://www.cdnplanet.com/blog/how-improve-ttfb-on-cloudflare-with-speculation-rules/

Speculation Rules prefetch improved TTFB on our […] website by ~300 ms for ~20% of eligible pageviews.

This can be done everywhere, not only on Cloudflare.

But be careful with this, not to add too much load on the browser and/or the server.

0 reaction

  • Older: StaticShape — Migrate to an SSG at scale
  • Newer: .io considered harmful

Related contents with similar topics

  1. screenshot of The present and potential future of progressive image rendering

    Jake Archibald avatar Jake Archibald

    The present and potential future of progressive image rendering

    • Nicolas Hoizey
    • 16 October 2025
    • image, WebPerf

    So if the browser manages to download 6 kB then stalls, then AVIF can produce a better result. But since the AVIF rendering is only two-pass, if the…

  2. screenshot of Google On Why Google Search Console LCP Is Not Wrong

    Barry Schwartz avatar Barry Schwartz and Barry Pollard avatar Barry Pollard

    Google On Why Google Search Console LCP Is Not Wrong

    • Nicolas Hoizey
    • 3 October 2025
    • WebPerf, LCP, Google Search Console

    Caching should be a "cherry on top" to boost speed, rather than the only reason you have a fast site.

  3. screenshot of View Transitions Break Incremental Rendering

    Eric Portis avatar Eric Portis

    View Transitions Break Incremental Rendering

    • Nicolas Hoizey
    • 7 May 2025
    • View Transitions, WebPerf
    • 2 reactions

    Instead of showing users that this thing is the same as that thing, we’ve told them, perhaps with extra motion/panache, that even though these the…

  4. screenshot of Web font file size study: a variable font addition

    Stoyan Stefanov avatar Stoyan Stefanov

    Web font file size study: a variable font addition

    • Nicolas Hoizey
    • 29 October 2024
    • font, variable, WebPerf
    • 2 reactions

    The sum is smaller than the parts. A variable font that has both normal and heavy (bold) weight (and also everything in between) is slightly smaller…

  5. screenshot of I wasted a day on CSS selector performance to make a website load 2ms faster

    Trys Mudford avatar Trys Mudford

    I wasted a day on CSS selector performance to make a website load 2ms faster

    • Nicolas Hoizey
    • 2 October 2024
    • WebPerf, DevTools
    • 3 reactions

    It was at this point that the second penny dropped and I realised I’d been duped by a graphing misunderstanding and my own enthusiasm for improving…

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy