Expand my Community achievements bar.

SOLVED

Image caching in Dispatcher in AEM.

Avatar

Level 2

Hi,

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-c...

 

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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-c...

 

Thanks!