Image caching in Dispatcher in AEM. | Community
Skip to main content
Level 2
May 25, 2021
Solved

Image caching in Dispatcher in AEM.

  • May 25, 2021
  • 1 reply
  • 812 views

Hi,

Image requests are coming to publisher every time, Is there anyway/ configuration to cache in dispatcher.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asutosh_Jena_

Hi @nesan 

 

In dispatcher rules section, you can apply the below rules to cache all the images with (.jpg, .jpeg and .png form) from /content location.

 

/0002 { /glob "/content/*.jpg" /type "allow" }
/0003 { /glob "/content/*.jpeg" /type "allow" }
/0004 { /glob "/content/*.png" /type "allow" }

Check the rules section:

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en

 

Thanks!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
May 25, 2021

Hi @nesan 

 

In dispatcher rules section, you can apply the below rules to cache all the images with (.jpg, .jpeg and .png form) from /content location.

 

/0002 { /glob "/content/*.jpg" /type "allow" }
/0003 { /glob "/content/*.jpeg" /type "allow" }
/0004 { /glob "/content/*.png" /type "allow" }

Check the rules section:

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-configuration.html?lang=en

 

Thanks!