Dispatcher flush(caching) | Community
Skip to main content
June 30, 2016
Solved

Dispatcher flush(caching)

  • June 30, 2016
  • 2 replies
  • 1671 views

Hi All,

Did any one know about how to caching on time base in cq5-dispatcher set up?

I mean how to flush the content  after some time duration or time slot,

time based caching is  possible in dispatcher?

 

Thanks in advance,

Nani

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 AnkurAhlawat-1

Yes you can do it. follow below post for more info.

https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Configuring Time Based Cache Invalidation - /enableTTL

regards,

Ankur

2 replies

AnkurAhlawat-1
AnkurAhlawat-1Accepted solution
July 1, 2016

Yes you can do it. follow below post for more info.

https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Configuring Time Based Cache Invalidation - /enableTTL

regards,

Ankur

Ashokkumar_TA
July 5, 2016

The enableTTL configuration available in the dispatcher configuration works based on the cache control response header for the pages served. This can be used if the application is setting the correct header values for page expiry. 

If the application is not setting the cache control headers, we can use acs commons plugin at [1] to set the headers based on URL pattern

[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-ttl.html