Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Dispatcher Caching with Selectors

Avatar

Level 7

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@AEMWizard 

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. 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@AEMWizard 

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.