Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Experience Fragments caching strategies in AEMaacs

Avatar

Level 2

In AEMaacs, when we activate experience/content fragments, it still shows the stale experience fragments content in the cached pages which refer the fragments. What is the recommended approach to invalidate the cache apart from Sling Dynamic Include?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Community Advisor

@SrinivasanPa2 

 

Generally a TTL-based approach is used for XF & CF. That means you would not see the updates immediately. Even with SDI, you might want to consider caching, to avoid hitting the Publish servers for XF and CF request.

 

If we can't wait for TTLs, choice is to use Sling Distribution to explicitly flush Dispatcher and CDN cache: https://experience-aem.blogspot.com/2023/01/aem-cloud-service-invalidate-dispatcher-purge-fastly-cdn...

 

 

 


Aanchal Sikka