Invalidation
Invalidation ensures that users see the latest versions of your assets without outdated content being served from cache.
Last updated
Invalidation ensures that users see the latest versions of your assets without outdated content being served from cache.
Last updated
©2024 Scaleflex SAS
Invalidation is the process of removing outdated cached versions of assets from the Content Delivery Network (CDN) to ensure updates are visible to users.
DAM invalidates automatically the old version of the asset when a new version is created. Users with Developer, Manager, Administrator or Owner User Roles can perform invalidations manually.
Go to DMO > Invalidation page
click on the + Add Invalidation form button.
Choose the Invalidation scope:
Original - deletes the cache of individual assets. If you choose this option, please provide up to 5-10 urls in format /folder1/folder2/filename.xxx
(Example: /campaigns/winter_sale/banner.jpg
). The URLs can be separated with comma or a line break symbol. Do not include query string parameters at the end of the URL.
All - deletes the entire cache of the project from the CDN and the resizing servers. Please pay notice that after invalidation the cache needs to rebuild again and the very first requests take more time for delivery.
When the Invalidation request is submitted, it appears in the Invalidation log. Both manual and automatic invalidations are logged there.
Every request has the following parameters:
Invalidation ID - the unique identifier of the request
Scope - the scope of the request (original / all)
Date - the datetime when the request has been submitted for execution. The value is in the local time zone.
Status - the status of the request:
Received - the request is received
Preparing - the Invalidation server prepares the request for execution
Flushing Scaleflex servers - the cache of the resizing servers is in process of deletion
Flushing CDN servers - the cache of the CDN servers is in process of deletion
Done - the invalidation finished successfully
ERROR_CDN_NODE - error in the CDN invalidation
ERROR - general error in some of the invalidation steps
If you encounter ERROR or ERROR_CDN_NODE, retry or contact support.
Invalidation path - if you click on "See links", you can inspect which URLs have been requested for invalidation (applicable for the invalidations with scope "original")
Retry - you can retry the invalidation in case of need
The Invalidations Log can be refreshed using the icon next to the button +Add invalidation form.
The Invalidation process can be automated.
For that purpose please review the Invalidation API.