TTL for sitemap.xml | Community
Skip to main content
Sanjay_Bangar
Community Advisor
Community Advisor
December 1, 2021

TTL for sitemap.xml

  • December 1, 2021
  • 2 replies
  • 2923 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

lukasz-m
Community Advisor
Community Advisor
December 1, 2021

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

Sanjay_Bangar
Community Advisor
Community Advisor
December 2, 2021

I tried Same alredy but it is not working.

lukasz-m
Community Advisor
Community Advisor
December 2, 2021

@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?

arunpatidar
Community Advisor
Community Advisor
December 2, 2021

Hi,

I think it should work

filter.pattern="[/content/mysite/siterootpage.sitemap.xml]"
expires.time="14:30"

Arun Patidar
Sanjay_Bangar
Community Advisor
Community Advisor
December 3, 2021

Let me try this one.