Outdated content appears after deployment due to Dispatcher cache in AEM

Adobe Experience Manager (AEM) non-production or test environments may continue to serve outdated content after a code or content deployment when the Dispatcher cache isn’t invalidated. To resolve the issue, identify the Dispatcher cache root, clear the cached content for the affected paths, and verify that the latest changes appear.

Description description

Environment

  • Adobe Experience Manager (AEM), all supported versions
  • Non-production or test environments

Issue/Symptoms

  • Recent code or content changes aren’t visible on the site after deployment.
  • Outdated content is served for specific paths, such as /etc.clientlibs/ or /content/your-site/.
  • Testers or other individuals may continue to see cached content instead of the latest changes.

Root cause

The Dispatcher cache isn’t cleared after deployment, causing outdated content to be served until the cache is invalidated.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Ensure that you have the required permissions to access the Dispatcher servers for the AEM environment. If you don’t have access, contact the system administrator or infrastructure management team.

  2. Identify the cache root directory used by the Dispatcher configuration. This is typically defined in dispatcher.any or dispatcher.yaml.

  3. Access the Dispatcher server using your organization’s approved method.

  4. Go to the Dispatcher cache root directory.

  5. Delete the cache directories that correspond to the affected paths. For example:

    • Remove the directory for /etc.clientlibs/.
    • Remove the directory for /content/your-site/.
  6. Ensure that the Dispatcher process has the required permissions to regenerate the cache when requests are made to these paths.

  7. Test the affected URLs and verify that the latest changes are visible.

  8. If you don’t have direct access to the Dispatcher server, request assistance from the system administrator or IT support team.

recommendation-more-help
experience-cloud-kcs-help-kbarticles