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 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…

  2. 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…

  3. 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…

  4. screenshot of JPEG VS AVIF - The Battle of Compression

    kliksphilip

    JPEG VS AVIF - The Battle of Compression

    • Nicolas Hoizey
    • 25 September 2024
    • image, WebPerf, AVIF, JPEG XL
    • 2 reactions

    In this super thorough study I test one single HD image and come to vast sweeping conclusions about JPEG XL and AVIF. But that's still one image comparison…

  5. screenshot of Introducing Speed Brain: helping web pages load 45% faster

    Cloudflare avatar Cloudflare , Alex Krivit and Suleman Ahmad

    Introducing Speed Brain: helping web pages load 45% faster

    • Nicolas Hoizey
    • 25 September 2024
    • Cloudflare, WebPerf, Speculation Rules
    • 1 reaction

    With the initial release of Speed Brain, we have designed a solution with important side effect prevention guardrails that completely removes the…

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