Page Rule integration with APO
The following Page Rules can control APO. Any changes to caching via Page Rules require purging the cache for the changes to take effect.
- 
Cache Level: Bypass — APO bypasses pages with response header
cf-apo-via: origin,page-rules - 
Cache Level: Ignore Query String — APO ignores all query strings when serving from Cache.
 - 
Cache Level: Cache Everything — APO caches pages with all query strings.
 - 
Bypass Cache on Cookie (Business and Enterprise plans only) — APO applies custom bypass cookies in addition to the default list.
 - 
Edge Cache TTL — APO applies custom Edge TTL instead of 30 days. This page rule is helpful for pages that can generate Captchas or nonces.
 - 
Browser Cache TTL — APO applies custom Browser TTL.
 - 
CDN-Cache-ControlandCloudflare-CDN-Cache-Control– Enables users to have detailed control over cache TTLs without using a page rule. For more information on theCDN-Cache-ControlandCloudflare-CDN-Cache-Controlheaders, refer to CDN-Cache-Control. 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Directory
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- © 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark