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 Obs.js – context-aware web performance for everyone

    Harry Roberts avatar Harry Roberts

    Obs.js – context-aware web performance for everyone

    • Nicolas Hoizey
    • 30 March 2026
    • WebPerf
    • 1 reaction

    Obs.js reads a handful of browser signals (Navigator and Battery APIs) to infer connection strength, battery status, and device capability. It exposes…

  2. screenshot of Low- and Mid-Tier Mobile for the Real World (2025)

    Harry Roberts avatar Harry Roberts

    Low- and Mid-Tier Mobile for the Real World (2025)

    • Nicolas Hoizey
    • 30 March 2026
    • WebPerf, mobile, device

    It’s important to remember that ‘low-tier’ does not mean old. Likewise, ‘mid-tier’ does not mean ‘a flagship from 2018’. They are a device class in…

  3. screenshot of The 49MB Web Page

    Shubham Bose

    The 49MB Web Page

    • Nicolas Hoizey
    • 17 March 2026
    • UX, WebPerf
    • 4 reactions

    Good UX is highly desired and once you get it right, it feels almost natural, intuitive. The current state of news UI assumes that the reader is an…

  4. screenshot of De SPA à MPA : reprendre en main la performance

    Raphaël Dardeau

    De SPA à MPA : reprendre en main la performance

    • Nicolas Hoizey
    • 19 February 2026
    • WebPerf, Core Web Vitals, SPA, MPA, JavaScript
    • 1 reaction

    Avec une SPA, la performance dépend d’un temps d’exécution global de l’application, alors qu’avec une MPA, elle découle directement du travail réellement…

  5. 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
    • 4 reactions

    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…

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