I'm Using Adobe AEM 6.1. Now I want to use Sling Dynamic Include 3.0.
- Installed the Sling Dynamic Include on the Publish instance
- I configured the Dispatcher with help of the following Documentation:
I also added the /enableTTL "1"
in the dispatcher.any file inside of the cache tag, and added the headers in the cache tag
/headers
{
"Cache-Control"
"Content-Disposition"
"Content-Type"
"Expires"
"Last-Modified"
"X-Content-Type-Options"
}
The Sling Dynamic Include works good. But the Problem is that the TTL Parameter is ignored. And I know I need AEM Dispatcher 4.1.11 and higher to use TTL. Well I'm using Dispatcher version 4.2.2 with an apache 2.2. Maybe I need an higher apache version that the TTL works?
My understanding of the TTL is, that I want to cache a file for 5 min, so in this 5 min, the users always get the cached document, and after this 5 min the dispatcher delete the old cached file, and get a new one.
Have somebody any idea? How can I check what is going wrong? I don't get an error or something, just the TTL param is ignored.
Here The Working SDI Include in my HTML
I think with the path is something wrong. After the "...ttl.html" is the resource Type "/cbz/components/elements/bookingcalendar". I think it should end by the .html. But I don't know why this is happen.
The Config