Expand my Community achievements bar.

SOLVED

Dispatcher flush(caching)

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 7

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

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

Avatar

Level 2

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