Stale Cache
The Stale Cache feature in the Medianova Cloud Panel for dynamic content allows you to serve previously cached content when certain HTTP error codes or an "Updating" status is encountered. This ensures continuous availability of content, even during temporary issues with the origin server or while content is being updated.
Key Features
Maintain Availability: The Stale Cache feature allows you to serve cached content when the origin server is temporarily unavailable or encounters specific error codes (such as 500 or 503). This ensures that users can still access content without disruption, even if the origin server is experiencing issues.
Customizable Error Triggers: You can define which HTTP error codes or the "Updating" status will trigger the use of stale cached content. This allows you to customize when the CDN should serve cached content instead of waiting for a fresh response from the origin server.
Improved User Experience: By serving stale cached content during backend disruptions, the Stale Cache feature minimizes downtime and ensures users continue to have access to content. This is particularly useful for dynamic content that might be subject to frequent changes or when there are temporary delays in fetching new data from the origin server.
The Stale Cache feature helps enhance reliability and user experience by reducing the impact of origin server downtime or content updates, ensuring that users are always able to access content with minimal interruptions.
Supported Triggers:
You can configure the system to serve stale cached content when any of the following statuses are detected:
Updating: Triggered when content is in the process of being updated.
HTTP_500: Internal Server Error.
HTTP_502: Bad Gateway.
HTTP_503: Service Unavailable.
HTTP_504: Gateway Timeout.
HTTP_403: Forbidden.
HTTP_404: Not Found.
HTTP_429: Too Many Requests.
How to Configure Stale Cache
Click on the CDN Resources section in the left-hand menu of the Cloud panel.
Select the relevant resource.
Click on the Caching tab.
Navigate to the Stale Cache section in the Medianova Cloud Panel.
Activate the Stale Cache option to configure the settings.
Select Error Triggers:
Choose the HTTP error codes (e.g., 500, 502, 503, etc.) or Updating status that will trigger the use of stale cached content.
Multiple triggers can be selected simultaneously.
Click Submit to apply your configurations.
Last updated