For the complete documentation index, see llms.txt. This page is also available as Markdown.

Edge Cache Expiration

Configure how long content remains cached on Medianova CDN edge servers and determine whether cache expiration is controlled by the CDN or the origin server.

Edge Cache Expiration defines the time-to-live (TTL) of cached responses. The selected Cache Type determines whether the CDN applies a configured TTL, follows origin cache expiration headers, or bypasses edge caching.

You can configure Edge Cache Expiration through the Medianova Control Panel or the API.

Cache Types

Edge Cache Expiration supports three cache types:

Cache Type
Behavior

Edge

Uses the configured Cache Time as the edge cache TTL, overriding cache expiration headers from the origin.

Origin

Uses the cache duration specified by the origin through Cache-Control or Expires headers. If no cache duration is provided, the configured Cache Time is used as a fallback.

Dynamic

Bypasses edge caching and forwards requests to the origin without storing responses in the CDN edge cache.

Configuration Steps

1

Open Caching

Open your CDN Resource in the Medianova Control Panel and select Caching.

2

Select the Cache Type

Under Edge Cache Expiration, select one of the following from Cache Type:

  • Edge

  • Origin

  • Dynamic

3

Configure Cache Time

For Edge or Origin, enter the Cache Time and select the corresponding time unit.

  • Edge: Applies the configured TTL to cached responses.

  • Origin: Uses the configured TTL as a fallback when the origin does not provide a cache duration.

This step does not apply to Dynamic.

4

Save the Configuration

Select Save in the pending changes bar.

Review the pending changes and confirm the update to apply the configuration to the CDN Resource.

Cache Behavior

Edge-Controlled Expiration

When Edge is selected, the CDN uses the configured Cache Time to determine how long cached responses remain fresh, regardless of the cache expiration duration specified by the origin.

Origin-Controlled Expiration

When Origin is selected, the CDN uses the expiration duration provided through the origin's Cache-Control or Expires headers.

If neither header specifies a cache duration, the configured Cache Time is used as a fallback.

Dynamic Cache Bypass

When Dynamic is selected, the CDN bypasses edge caching. Requests are forwarded to the origin without storing responses in the CDN edge cache.

Important Notes

  • Longer TTL values are generally suitable for static content that changes infrequently. Shorter TTL values are more appropriate for frequently updated content.

  • Edge Cache Expiration controls CDN-side caching. To configure client-side caching, see Browser Cache Rule.

Last updated

Was this helpful?