Edge Cache Expiration
Control the duration content is cached on CDN edge servers before it requires revalidation or refresh from the origin.
The Edge Cache Expiration setting determines how long content remains valid on CDN edge servers. This feature helps optimize performance by ensuring quick delivery of frequently accessed content and providing flexibility for timely updates from the origin server.
The configuration relies on the edge-origin-dynamic cache type, which requires setting separate expiration times for both the edge (CDN) and the origin (server header value).
Configure Edge Cache Expiration
Best Practices
Align cache duration with content volatility.
Use shorter durations for frequently updated content (e.g.,
/news,/api) and longer durations for static assets (e.g.,/images).Monitor cache hit ratios to fine-tune performance.
Notes
When both Edge and Origin cache settings are active, configure both separately.
This feature complements Browser Cache Rule and Mobile Device Cache for more granular control.
Last updated
Was this helpful?
