Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Caching stores.init.js

Avatar

Level 6

I wanted to cache the below file in dispatcher without query parameters for all the pages. Is it possible ?

 

http://localhost:7080/etc/clientcontext/default/content/jcr:content/stores.init.js?path=%2Fcontent%2...

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

if the query string doesn't matter, I woudl use mod_rewrite on Apache webserver to eliminate the query string(s) specifically on this URL. You can also do this on dispatcher, see [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Restricting%20Query%20Strings

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi,

if the query string doesn't matter, I woudl use mod_rewrite on Apache webserver to eliminate the query string(s) specifically on this URL. You can also do this on dispatcher, see [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Restricting%20Query%20Strings