Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

AEM SDK dispatcher local setup cache issue

Avatar

Level 3

Hi ,

I have tried setting dispatcher locally for AEM SDK and able to retrive the pages.

I need to check if caching is working fine.

When i tried with below command tocopy the files locally and check .. i dont see any pages being cached.

docker cp -L 9ab40369b430:/mnt/var/www/html cache

When i checked publisher request.log all the requests are being seen which means none of the content is cached.

I have been using the default rules and didnt change anything.

Please guide me if anymore configs are need to be added.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Community Advisor

@sr508 

 

requesting you to please add the cache rules here,

Also, how are you accessing the pages from dispatcher and publish?


Aanchal Sikka

Avatar

Correct answer by
Community Advisor

@sr508 just make sure the docrrot mentioned in your vhost or httpd file and cache docroot mentioned in /cache section of your dispatcher.any file is same.

 

https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/dispatcher.cloud/src/...

https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/dispatcher.cloud/src/...