This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi All,
I have created sitemap generation using acs common. I wanted to give the TTL for sitemap to caching.
Anyone idea how can we so it.
Kr,
Sanjay
Views
Replies
Total Likes
Hi @Sanjay_Bangar, you can try to use Dispatcher TTL functionality from ASC commons. You can find more detail under https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-ttl/index.html
I tried Same alredy but it is not working.
@Sanjay_Bangarcould you please share more details. I mean what you are expecting to happen, and what is current state. Did you observed any errors/warning in dispatcher/apache logs? How your configuration of dispatcher TTL looks like for sitemap?
Hi @lukasz-m ,
I have added in dispatcher.any file /enable ttl and allw sitemap.xml .
Create one OSGI config in apps/config that acs common and added patterns content/guy.sitemap.xml
Expiration time:14:30
After changes in the publisher any page it is quickly reflected in the domain.sitemap.xml .
It should not displayed before the timeframe
Hi @Sanjay_Bangar, do you have your dispatcher flush agent on publish enabled? According to this docs https://helpx.adobe.com/experience-manager/kb/optimizing-the-dispatcher-cache.html#use-ttls dispatcher flush agent should be disabled on publish.
Let me try this one.
Hi @arunpatidar
It is not working it is showing in the response header but sitemap.xml updated quickly before the time.
Example:
1.Added the configuration in acs common Max header.
2.page rename from the author and publish.
3.checked on dispatcher domain like www05-dev.numorous.org/sitemap.xml
But the page that I renamed it is reflected quickly.
Okay, do you know where I can check this.it is deleted/invalidate.
Or else do I need to clear the cache.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies