Skip to content
Cloudflare Docs
Search
Product directory
Learning paths
Status
Support
Log in
GitHub
Twitter
YouTube
Select theme
Dark
Light
Auto
Cache / CDN
Overview
Plans
Overview
Get started
Concepts
Overview
CDN-Cache-Control
Cloudflare cache responses
Customize cache
Default cache behavior
Head Requests and Set-Cookie Headers
Interact with Cache in Workers
Origin Cache Control
Retention vs Freshness (TTL)
Revalidation and request collapsing
Cache configuration
Overview
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
Overview
Cache Reserve
Crawler Hints
Early Hints
Query String Sort
Vary for images
Performance review
Overview
Cache Analytics
Cache performance
Cache security
Overview
Avoid web cache poisoning
Cache Deception Armor
Cross-Origin Resource Sharing (CORS)
Reference
Overview
CDN Reference Architecture ↗
CSAM Scanning Tool
Development Mode
Using ETag Headers with Cloudflare
Troubleshooting
Overview
Always Online
Glossary
Product directory
Learning paths
Status
Support
Log in
GitHub
Twitter
YouTube
Select theme
Dark
Light
Auto
Home
…
Cache
How To
Cache configuration
Learn how to complete different configuration options to customize your cache behavior.
Always Online
Cache by status code
Cache keys
Cache Rules
Caching levels
Edge and Browser Cache TTL
Purge cache
Tiered Cache
Cloudflare Dashboard
Discord
Community
Learning Center
Support Portal