Expand my Community achievements bar.

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
Level 10

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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