Skip to content
Cloudflare Docs
Search
Products
Learning
Status
Support
Log in
GitHub
X
YouTube
Select theme
Dark
Light
Auto
Cache / CDN
Overview
Plans
Get started
Concepts
CDN-Cache-Control
Cloudflare cache responses
Customize cache
Default cache behavior
Head Requests and Set-Cookie Headers
Origin Cache Control
Retention vs Freshness (TTL)
Revalidation and request collapsing
Cache configuration
Always Online
Cache by status code
Cache keys
Cache Rules
Overview
Create a rule in the dashboard
Create a rule via API
Terraform example
Available settings
Order and priority
Examples
Overview
Browser Cache TTL
Bypass Cache on Cookie
Cache by Device Type
Cache Deception Armor
Cache Everything while ignoring query strings
Cache Level (Cache Everything)
Cache TTL by status code
Custom Cache Key
Edge Cache TTL
Origin Cache Control
Query String Sort
Respect Strong ETags
Migration from Page Rules
Caching levels
Edge and Browser Cache TTL
Overview
Set Browser Cache TTL
Purge cache
Overview
Purge by single-file
Purge everything
Purge cache by cache-tags
Purge cache by hostname
Purge cache by prefix (URL)
Purge cache key resources
Purge varied images
Tiered Cache
Advanced configuration
Cache Reserve
Crawler Hints
Early Hints
Query String Sort
Vary for images
Performance review
Cache Analytics
Cache performance
Cache security
Avoid web cache poisoning
Cache Deception Armor
Cross-Origin Resource Sharing (CORS)
Reference
CDN Reference Architecture ↗
CSAM Scanning Tool
Development Mode
Using ETag Headers with Cloudflare
Interaction with Cloudflare products
Customize cache behavior with Workers
Enable cache in an R2 bucket
Control cache access with WAF and Snippets
Troubleshooting
Always Online
Glossary
Products
Learning
Status
Support
Log in
GitHub
X
YouTube
Select theme
Dark
Light
Auto
Products
…
Cache / CDN
Advanced configuration
Advanced configuration
Learn how to complete different configuration options to customize your cache behavior.
Cache Reserve
Crawler Hints
Early Hints
Query String Sort
Vary for images
Cloudflare Dashboard
Discord
Community
Learning Center
Support Portal
Cookie Settings