Dispatcher Caching with Selectors | Community
Skip to main content
Level 6
February 2, 2023
Solved

Dispatcher Caching with Selectors

  • February 2, 2023
  • 2 replies
  • 1508 views

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.
Best answer by Vijayalakshmi_S

@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

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
February 3, 2023

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

Saravanan_Dharmaraj
Community Advisor
Community Advisor
February 3, 2023

You can check this blog too for suffix caching.

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