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

1

In the Medianova Control Panel, navigate to CDN Resources.

2

Select the relevant resource from the list.

3

Click the Caching tab.

4

Open the Edge Cache Expiration section.

The Edge Cache Expiration section allows configuration of the Cache Type and duration settings.
5

Select the cache type: Choose edge-origin-dynamic.

This setting enables separate expiration control for CDN edge and origin headers.

6

Define the Cache Expiration Time for both edge and origin.

Set the time based on your content’s update frequency.

7

Click Save to apply the configuration.

The new expiration rule is immediately applied across the CDN network.

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

Last updated

Was this helpful?