Hi Team,
I am looking for a way to cache pages with selectors in their URLs in AEM disaptcher. For example https://www.mycompany.com/a/b.html/suffix is cached in AEM dispatcher but page with selector "print" https://www.mycompany.com/a/b.print.html/suffix is not cached currently.
Thanks in advance.
Srikanth Pogula
Solved! Go to Solution.
Views
Replies
Total Likes
Hi All, was able to get it to work by adding an extension after suffix in rewrite rule since dispatcher does not cache extension-less URLs.
Thanks for the help @Raja-kp
@srikanthpogula Please try the below:
Options FollowSymLinks MultiViews
AllowOverride all
Please post response.
Hi @Raja-kp, can you please elaborate on #4, should I remove MultiViews? I tried but still cache is not created for page with selector in URL. From disaptcher log, can see that page is rendered from publish not from cache. It appears that no cache rule is found for this request and cache action is NONE
I have added below cache rule because page URL(https://www.mycompany.com/a/b.print.html/suffix) has suffix
/0405 { /glob "*.print.html/*" /type "allow" }.
Please let me know if this is incorrect.
Thanks
Srikanth Pogula.
Hi All, was able to get it to work by adding an extension after suffix in rewrite rule since dispatcher does not cache extension-less URLs.
Thanks for the help @Raja-kp
Views
Likes
Replies
Views
Likes
Replies