Hi Friends ,
Whenever user Activate , Deactivate or Delete AEM Pages. Changes are not reflected on Sitemap XML. Is there any way to deal with this?
Solved! Go to Solution.
Hi @Sanket_Dange!
If this is a caching issue, it is probably related to the statfileslevel [1] in your dispatcher configuration. The dispatcher invalidates certain parts of the content tree in the cache based on this configuration. The general recommendation is to set the statfileslevel as high as possible but as low as necessary for your website. This may somehow be conflicting with the Sitemap XML as it is usually placed at the root of the website.
There are different ways to handle this, depending on the overall structure of your website:
If this is not a caching issue it is hard to give advice without any knowledge about your implementation of the sitemap xml generation.
Hope that helps!
Hi @Sanket_Dange!
If this is a caching issue, it is probably related to the statfileslevel [1] in your dispatcher configuration. The dispatcher invalidates certain parts of the content tree in the cache based on this configuration. The general recommendation is to set the statfileslevel as high as possible but as low as necessary for your website. This may somehow be conflicting with the Sitemap XML as it is usually placed at the root of the website.
There are different ways to handle this, depending on the overall structure of your website:
If this is not a caching issue it is hard to give advice without any knowledge about your implementation of the sitemap xml generation.
Hope that helps!
If you are using ACS Common, you can delete sitemap.xml from the dispatcher cache as soon as you publish anything/page
in farm.any file
/0028 { /type "allow" /glob "* /homep.sitemap.xml*" }
and
/cache
{
/invalidate
{
/0000 { /glob "* /homep.sitemap.xml*" /type "allow"}
}
}
when I have added /invalidate then homep.sitemap.xml file is deleted on dispatcher. I want to invalidate not to delete that file. file.
Hi Sank,
Did you got solution for this?
Views
Replies
Total Likes