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 Minifier Benchmarks Project · Comparing Web Page Minification Results (HTML, CSS, JS)

    Jens Oliver Meiert avatar Jens Oliver Meiert

    The Minifier Benchmarks Project · Comparing Web Page Minification Results (HTML, CSS, JS)

    • Nicolas Hoizey
    • 2 November 2026
    • WebPerf
    • 4 reactions

    The Minifier Benchmarks Project is a community-maintained collection of web page minification benchmarks, stewarded by Jens Oliver Meiert (context…

  2. screenshot of JPEG XL vs AVIF for web use-cases

    Jake Archibald avatar Jake Archibald

    JPEG XL vs AVIF for web use-cases

    • Nicolas Hoizey
    • 22 October 2026
    • WebPerf, image, JPEG XL, AVIF
    • 5 reactions

    I'll go into full detail, with examples and benchmarks, but for those of you who don't have the time, here are [2 of] the headlines: For lossy photos…

  3. screenshot of Standards In Progress: Making Video Posters Accessible, Responsive, and an Element

    Scott Jehl avatar Scott Jehl

    Standards In Progress: Making Video Posters Accessible, Responsive, and an Element

    • Nicolas Hoizey
    • 8 October 2026
    • WebPerf, accessibility, responsive, HTML, video
    • 11 reactions

    I'm showing just a sampling of the available markup here of course–you might want to coordinate multiple art-directed video and picture sources for…

  4. screenshot of “AI, make the website good”

    Zach Leatherman avatar Zach Leatherman

    “AI, make the website good”

    • Nicolas Hoizey
    • 22 September 2026
    • AI, WebPerf, UX
    • 4 reactions

    I’m always left wondering (suspecting the answer with hopeful optimism that my hunch is wrong this time): do these workflow improvements actually…

  5. screenshot of The case against JPEG XL

    Gianni Rosato avatar Gianni Rosato

    The case against JPEG XL

    • Nicolas Hoizey
    • 14 September 2026
    • WebPerf, image, JPEG XL, AVIF
    • 7 reactions

    JPEG XL isn't useless; it is genuinely compelling technology for use cases beyond the Web. I'm just not personally convinced we need it in browsers…

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