Manage Dynamic Media Classic cache invalidation on asset activation
Adobe Experience Manager (AEM) Dynamic Media Classic uses CDN caching for asset delivery and doesn’t support automatic cache invalidation triggered only by asset activation or publishing. To resolve the issue, manage cache expiration through the configured TTL or use manual or API-based invalidation when an immediate cache update is required.
Description description
Environment
Adobe Experience Manager (AEM) Dynamic Media Classic (all versions)
Issue/Symptoms
- Cache invalidation is required only when an asset is activated or published.
- Clarification is required on whether Dynamic Media Classic has caching layers beyond the CDN cache.
- Information is required about cache expiration (TTL) behavior for each layer.
- Clarification is required on whether cache invalidation can trigger automatically upon asset activation or publishing.
- No error messages are reported.
Root cause
Dynamic Media Classic doesn’t support asset-activation-triggered cache invalidation. Cache expiration is controlled by the configured CDN TTL or manual/API-based invalidation.
Resolution resolution
Follow the steps below to resolve the issue:
-
Understand that Dynamic Media Classic delivers assets through Adobe’s bundled CDN, which caches content at edge locations.
-
There is no documented, customer-configurable Dynamic Media cache layer apart from the CDN. Additional caching may occur at the browser, proxy, or customer-managed CDN level, depending on the delivery configuration.
-
Review the CDN cache duration. The default CDN cache duration (TTL) is up to approximately 10 hours and is configured at the company/account level. To view or adjust this setting, go to Setup
>Application Setup>Publish Setup>Image Server>Default Client Cache Time To Live. The TTL is specified in hours and applies globally to all assets. -
Dynamic Media Classic doesn’t provide an out-of-the-box setting to automatically invalidate the CDN cache only when an asset is activated or published. Republishing an asset updates Dynamic Media, but the cached URL may remain until its TTL expires.
-
For immediate cache updates, use one of the following methods:
- Manual Invalidation: Go to File
>Invalidate CDN in Dynamic Media Classic. - API-based Invalidation: Submit the affected URLs through the
cdnCacheInvalidationAPI.
- Manual Invalidation: Go to File
-
The CDN Invalidation Template defines which URLs are invalidated but doesn’t support automatic triggers based on asset activation.
-
Verify that the cache is updated after manual or API-based invalidation.