How to cache pages which use tags | Community
Skip to main content
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 amit_bhanja

Thanks.

We have a CDN fronting our site. They allow custom caching policies based on folder paths and URL parameters.

- Amit

6 replies

amit_bhanjaAuthorAccepted solution
New Participant
September 8, 2016

Thanks.

We have a CDN fronting our site. They allow custom caching policies based on folder paths and URL parameters.

- Amit

joerghoh
Employee
September 7, 2016

Hi,

yes you need to add an extension to the url to make it cacheable by the dispatcher.

You might run into performance problems because of a low cache-hit ratio (assuming that the requests are spread over many different pages/files and that there are changes in the content which lead to dispatcher flushes, thus reducing the effectiveness of the cache. That's something which depends heavily on your requirements.

Jörg

New Participant
September 7, 2016

Thanks for your response. I understand the caching mechanism (related configuration) of the Web Server (apache). Sorry for not putting the question in the right way.

Here's a better version:

We are using 1000+ tags on our website (mostly for blog pages ). For example the below:

https://www.abc.com/blog/abc.html/category/etc/tags/hello-all/students
https://www.abc.com/blog/xyz.html/category/etc/tags/hi-there/new-joinees
https://www.abc.com/blog/pqr.html/category/etc/tags/first-day/summer-intern

Tags are nothing but references for certain links (html pages). Is my understanding correct that these above urls with tags cannot be cached on the dispatcher since they do not end with an extension ? Also, can these huge number of tags cause performance issues in our website ? 

 

Thanks

Amit 

New Participant
September 7, 2016

Jitendra,

 Thanks for your response. I understand the caching mechanism (related configuration) of the Web Server (apache). Sorry for not putting the question in the right way.

Here's a better version:

We are using 1000+ tags on our website (mostly for blog pages ). For example the below:

https://www.abc.com/blog/abc.html/category/etc/tags/hello-all/students
https://www.abc.com/blog/xyz.html/category/etc/tags/hi-there/new-joinees
https://www.abc.com/blog/pqr.html/category/etc/tags/first-day/summer-intern

Tags are nothing but references for certain links (html pages). Is my understanding correct that these above urls with tags cannot be cached on the dispatcher since they do not end with an extension ? Also, can these huge number of tags cause performance issues in our website ? 

 

Thanks

Amit 

smacdonald2008
New Participant
September 7, 2016

Jitendra is correct - you use Dispatcher to cache pages in AEM. See: https://docs.adobe.com/docs/en/dispatcher.html

Jitendra_S_Toma
New Participant
September 7, 2016

Amit,

Your question is a bit confusing. Would you mind elaborating your use case here.

FYI

Every Page in AEM gets cached if you have dispatcher & web server configured and most of the time, each page has some associated tags.