Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Sitemap

Avatar

Level 6

On the publish instance the sitemap will be served from sitemap scheduler instead of from on demand?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Keerthi0555 

Based on your sites traffic and update frequency you can go with on demand or scheduled one. If you prefer on demand update the config Apache Sling Sitemap – Sitemap Generator Manager  by enabling the ondemand flag and replicate to publishers.

 

In case you prefer the scheduled generation better caching and utilization of resources update the config org.apache.sling.sitemap.impl.SitemapScheduler~weretail.cfg.json in publish runmode folder and replicate the same.

 

Hope it helps

View solution in original post

3 Replies

Avatar

Community Advisor

Hi,

 

You can just add an OSGI configuration for the scheduler which is bound to your publisher run mode. Please check these resources which explain this use case step by step:

https://medium.com/@toimrank/aem-sitemap-creation-4877b3a8391a
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en 

 



Esteban Bustamante

Avatar

Correct answer by
Community Advisor

Hi @Keerthi0555 

Based on your sites traffic and update frequency you can go with on demand or scheduled one. If you prefer on demand update the config Apache Sling Sitemap – Sitemap Generator Manager  by enabling the ondemand flag and replicate to publishers.

 

In case you prefer the scheduled generation better caching and utilization of resources update the config org.apache.sling.sitemap.impl.SitemapScheduler~weretail.cfg.json in publish runmode folder and replicate the same.

 

Hope it helps

Avatar

Administrator

@Keerthi0555 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni