내 커뮤니티 업적 표시줄을 확대합니다.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
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. 

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
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. 

Avatar

Community Advisor

You can check this blog too for suffix caching.

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