Dispatcher enable TTL not working | Community
Skip to main content
Level 2
September 22, 2017
Solved

Dispatcher enable TTL not working

  • September 22, 2017
  • 4 replies
  • 5045 views

I enabled TTL in dispatcher any file and also set an Expires header to be sent back in the target page

I can see the 'Expires' header in response when i access the page in publisher

but when I access the page using webserver / dispatcher URL, that header is not seen in the response anymore.

Is it removed by the webserver when returning response to the browser?

also even after making this change, no TTL related file is created in the cache folder (besides the cached file for the accessed page)

Is something else to be done to enable this?

Thanks

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 joerghoh

Not sure if the keywords are case-independent. Try "enableTTL".

Jörg

4 replies

smacdonald2008
Level 10
September 22, 2017

See here - maybe this will help: Dispatcher TTL

joerghoh
Adobe Employee
Adobe Employee
September 22, 2017

The TTL feature only controls the ttl of the cache entry in the dispatcher. You should enable the dispatcher header caching feature to carry on the expiration information you added to the page while rendering it on publish.

I found a nice explanation of it at [1], especially "Response header caching" and "Time based cache invalidation".

Jörg

[1] AEM Dispatcher 4.1.11 - (not) just yet another release

Level 2
September 24, 2017

Thank you . I am getting error in the log that "enablettl property is not recognized". My dispatcher version is 4.2.2.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
September 25, 2017

Not sure if the keywords are case-independent. Try "enableTTL".

Jörg