Reference guide · cloudflare · Published 2026-08-16 · 4 min read

Cloudflare Page Rules vs Cache Rules

Cloudflare Page Rules vs Cache Rules: what Page Rules did, how Cloudflare replaced them, and which rule product handles each edge job.

What Page Rules were for

Cloudflare's original kitchen-sink rule product is Page Rules. Each rule matched a URL pattern (a single path or a wildcard glob) and then toggled a range of settings in one go: cache level, edge TTL, browser cache expiry, always-use-HTTPS, forwarding URL, security level, and more. It was the one tool every site used to tune the edge, and it worked long enough that a generation of tutorials and dashboards still reference it today.

The cost of that convenience is that one product mixed unrelated concerns. A rule like "Cache Everything + Edge Cache TTL + Forwarding URL" put caching, TLS, and redirection in the same box, and the box had a strict rule count per plan (three on the free plan). When you ran out of slots, you had to decide which behavior to drop, because the product offered one lozenge per path and that was the unit of everything.

What happened to Page Rules

Cloudflare announced in earnest that Page Rules would be replaced by a suite of dedicated rule products built on a shared evaluation engine, and it has been shipping those since: Cache Rules, Configuration Rules, Redirect Rules, Origin Rules, and Transform Rules. Cache Rules became generally available in late 2023, and Cloudflare has published an official page-rules migration guide mapping every legacy switch to its new home.

The product is now being deprecated at the end of its life. The dashboard keeps the legacy switch for now, but new zones and new accounts no longer reach for it, and Cloudflare's own documentation routes operators to the replacement suite. If you still have Page Rules, expect Cloudflare to migrate them for you on its schedule; otherwise you can migrate manually using the documented mapping.

The mapping table

Page Rules jobProduct that owns it now
Edge cache TTL, cache everything, cache levelCache Rules
Browser cache TTL (browser-side expiry)Cache Rules
Always-use-HTTPS, security level, email obfuscationConfiguration Rules
Forwarding URL, redirect, wildcard redirectRedirect Rules
Origin host header, port, TLS overrideOrigin Rules
Rewriting a URL request to a new pathTransform Rules
Host header override / resolve overrideOrigin Rules

The products are evaluated in a fixed order (Origin Rules run first, then Cache Rules, then Configuration Rules, then Redirect Rules), so architecture decisions can sit in the right place instead of fighting each other. That ordering is also why two rules that used to be crammed into one Page Rule must now be two separate rules with the correct evaluation order.

May I still use Page Rules?

Yes, if your zone still has the panel and Cloudflare has not migrated you yet. But treat it as legacy, meaning: do not build new rules on it, and prefer the current product for any new setting. The migration guide covers the exact pairing table; the short version is: cache behavior to Cache Rules, any redirect to Redirect Rules, any setting like "Always Use HTTPS" to Configuration Rules, and any origin change to Origin Rules.

The 101 on the replacement products

That set covers everything Page Rules used to do, with more slots and clearer per-product semantics. If a legacy zone does not need a full migration, the browser-cache / cookie-bypass pattern has a direct Cache Rules equivalent, see the cache rules for dynamic content page.

Prevention

Need a website built, fixed, optimised, migrated or replaced?

This technical resource is written by CSMBAC, a small design and development studio. If you would rather hand the problem to a professional, the website service page explains how we build enquiry-ready websites.

Explore website services