Dynamic sitemap.xml not cleared on Purge




Wordpress LScache Plugin: Dynamic sitemap.xml not cleared on Purge

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Somehow, the cached dynamic /sitemap.xml is not being cleared when I hit Purge All ? LSCache. I also tried with no difference in outcome: 1. from the LiteSpeed Cache > Toolbox: Purge All 2. from the LiteSpeed Cache > Toolbox: Purge By? URL then enter the full url and hitting Purge List 3. from the Network admin LiteSpeed Cache > Toolbox: Purge All and Empty Entire Cache 4. Switch off/on LsCache on the server side 5. Completely uninstall LiteSpeed Cache plugin and resinstall Only when the LsCache is off on the server side, I get to see the dynamic (uncached) sitemap.xml. Once switched back on, the old cached version is back again. Is this a server issue? Hi, Could you please provide the full HTTP response header on sitemap.xml ? and how did you switch it off on server side ? may I know if its OpenLiteSpeed or LiteSpeed Enterprise ? Best regards, Hi @CacheCrawler you can see the response headers live on https://www.mboptitspois.fr/sitemap.xml ? note the differences with https://www.mboptitspois.fr/sitemap.xml?nocache among them even the PHP version Im not sure about which version of LiteSpeed but it was switched off (and now on again) via cPanel. Also: the global cache option in the plugin is OFF at this moment. Hi, Is that o2switch ? if you add this URI to no-cache , does it show no-cache ? when you purge all , all other pages are purged and only this one doesnt ? Best regards, when you purge all , all other pages are purged and only this one doesnt ? As far as I can tell, pages/posts/archives are purged but not feeds. If you check the response headers of https://www.mboptitspois.fr/feed/ for example, youll notice the old PHP version. The /sitemap.xml is in essence also a feed (created by a plugin), so that might be a hint? Oh, and yes, the host is o2switch Hi, I dont know , o2switch seems to have some unique set up please try , create a php file with code



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference