SDI with TTL value
Hi Team,
I have followed the documentation and set up SDI (Sling Dynamic Include) for one of the components on a page in my environment. TTL-based caching is enabled, and the page — which includes the dynamic component — is being successfully cached at the dispatcher. I have set the TTL value to 15 minutes.
When I accessed the page through the dispatcher, it was cached as expected. However, after 20 minutes, I logged into the dispatcher and navigated to the cached folder path — the cached page was still present.
Is this the expected behavior? That is, will the cached page remain on the dispatcher and only be refreshed with new data when a new request comes in? Also, should the timestamp of the cached file change after TTL expiry? In my case, the timestamp does not update.
Could this indicate an issue with my environment?
I'm also unable to verify if the latest content is being served because the data is coming from a third-party API.
Reference: Sling Dynamic Include Setup Guide
Can anyone please suggest?
Thanks in Advance
Veera