Caching time | Configuration | How is the cache cleared | When to clear this cache | |
---|---|---|---|---|
Page cache | Controlled via code | Can be enabled in Business Manager, always on in production | Via Business Manager or implicitly when a replication occurs | Any change on page or content that requires invalidation of page content cache. |
Static content cache | Fixed (on production) | Can be enabled in Business Manager, always on in production | Via Business Manager or implicitly when a replication occurs | This usually happens automatically when content is refreshed. This can be invalidated when static content change is not refreshing on pages. |
Custom objects | Controlled via code | Can be controlled via metadata | Custom objects will exist until explicitly deleted or via retention settings in Business Manager | Custom object cache is used for specific purpose, for example caching OAuth tokens. This should be managed via code. Users can manually clear the cache, but this is usually done only in unexpected circumstances. |
Custom cache | Controlled via code | Can be enabled in Business Manager | Via Business Manager or implicitly when a replication occurs | Custom caches work like custom object caches. Usually they're used for comparatively smaller size content. Custom cache is generally more performant hence more commonly used in real-time request cache scenarios. |
Created
February 17, 2021 21:47
-
-
Save zaynelt/a937334e1acd06a8c4e83bcba354f9d5 to your computer and use it in GitHub Desktop.
Commerce Cloud Cache Clearing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment