Easy Tech Tuts
Cloudflare

How to Enable Cache Everything in Cloudflare Easily 2026

By Impran M N

By default, Cloudflare only caches static assets, but sometimes you want dynamic HTML pages cached too for maximum speed. This guide covers building a Cache Everything rule while making sure sensitive areas like login and checkout stay excluded.

01Open Cache Rules

Navigate to the Caching sub-directory and open the dedicated Cache Rules panel.

02Create a new rule

Use the Expression Builder to isolate the specific domain and path names you want cached.

03Set Cache Eligibility to Eligible

In the rule settings, toggle the Cache Eligibility option to override standard media-only limits and force full-page caching.

04Set an Edge TTL

Define a distinct Edge Cache TTL duration to control how long Cloudflare's servers retain the cached HTML copies.

05Exclude sensitive paths and deploy

Stack exclusion rules to bypass caching on login pages, checkout portals, or authenticated sessions, then deploy and audit response headers to confirm cache hits.

FAQ

Frequently asked questions

Is it safe to cache dynamic HTML pages?

It's safe as long as you exclude pages with personalized or sensitive content, like login and checkout flows, using bypass rules.

What does Cache Eligibility do in a Cache Rule?

It overrides Cloudflare's default behavior of only caching static file types, allowing dynamic HTML responses to be cached as well.

How do I make sure logged-in users see fresh, personalized content?

Use cookie-based bypass rules within your Cache Rules to keep authenticated sessions dynamic and excluded from caching.

How can I confirm Cache Everything is actually working?

Run a header audit on a cached page and look for a cache status header indicating a hit rather than a miss.

Watch the full walkthrough

The same steps, demonstrated on screen from start to finish.