Category: Dispatcher

Configuring Sling Mappings for Multiple Development Environments in AEMaaCS

When working with Adobe Experience Manager as a Cloud Service (AEMaaCS), managing multiple development environments often introduces complexities in URL resolution. A common scenario involves setting up distinct publish domains for each environment while using Sling Mappings to shorten page URLs. By default, mappings are stored under the /etc/map.dev runmode, causing internal links to resolve to the same domain across environments. This blog outlines a solution to configure Sling Mappings to ensure each development environment resolves internal links to the correct domain.

Continue reading

Caching issue with Experience fragments

A common issue with Experience fragment(XF) is cache invalidation of pages referencing the XF. When a Experience fragment(XF) is modified and published, pages which reference the XF are not updated and still shows old XF content. This happens because the XF content/html is cached as part of each page instead of being referenced from a shared location.

Page needs to be explicitly activated/invalidated to view the updated content of the XF. This can be quite tedious and unpractical at times for the authors. There are multiple ways to tackle this problem.

Continue reading