Dispatcher Caching with Selectors | Community
Skip to main content
Level 6
Feb 2, 2023 8:25 PM UTC
Solved

Dispatcher Caching with Selectors

Hi, is it possible to cache
/content/my-site/jcr:content/my-component.json/product1
/content/my-site/jcr:content/my-component.json/product2
/content/my-site/jcr:content/my-component.json/product3

And if so, please let me know the dispatcher configurations.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Feb 3, 2023 2:10 AM UTC

@supportmember 

The URL samples you have shared is path with suffix not selectors and in cache structure, path till my-component.json will be in htdocs folder (since it is a file, no more further structure will be created unlike a directory) - In other words, /product1-3 will not be cached. 

2 replies

Saravanan_Dharmaraj
New Participant
Feb 3, 2023 3:24 PM UTC

You can check this blog too for suffix caching.

https://one-inside.com/caching-pages-with-suffix-paths-in-aem-cq-dispatcher/

 

Translate
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Feb 3, 2023 2:10 AM UTC

@supportmember 

The URL samples you have shared is path with suffix not selectors and in cache structure, path till my-component.json will be in htdocs folder (since it is a file, no more further structure will be created unlike a directory) - In other words, /product1-3 will not be cached. 

Translate