Image caching in Dispatcher in AEM. | Community
Skip to main content
Level 2
May 25, 2021 12:44 PM UTC
Solved

Image caching in Dispatcher in AEM.

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.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
May 25, 2021 1:39 PM UTC

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_
Asutosh_Jena_Accepted solution
New Participant
May 25, 2021 1:39 PM UTC

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!

Translate