Greyscale

Exclude SiteMap in Cache

A2 Optimized

  • A2 Optimized doesn’t have option to turn off caching just for sitemap
  • This will be done by a developer through coding in the htaccess
  • The only option available in A2 Optimized is to turn off all the caching

A2 Optimized

  • This option is available in LSCache plugin
  • If the customer is using Turbo, is it recommended to use LS cache
  • To exclude your sitemap being cached by LiteSpeed Cache, head over to LiteSpeed Cache > Cache > Excludes and enter the following code in the Do Not Cache URIs field.
/(.*)sitemap(.*).xml
/(.*)sitemap.xsl
/sitemap_index.xsl
/sitemap_index.xml