Support » Plugin: W3 Total Cache » post-sitemap.xml and other sitemap files doesn't get cached

  • I updated to w3 total cache and now I’m unable to get caching of xml files to work. Checking the footer of post-sitemap.xml (generated by the yoast seo plugin) say:

    <!-- Performance optimized by W3 Total Cache. Learn more:
    Minified using disk: basic
    Page Caching using disk: enhanced
     Served from: @ 2013-02-05 10:25:30 by W3 Total Cache -->

    But when reloading the page (I’m not logged in) I get a new timestamp.

    What could be wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frederick Townes


    This is probably due to WP is_feed() check that is used in the plugin. You will need to enable cache feeds on the page cache settings page inorder to cache site maps. xml files are interpreted to be feeds.

    I’ve already enabled “Cache feeds: site, categories, tags, comments”. Do I need to do something more?

    I’ve checked the cache/page_enhanced folder and I’m unable to find any post-sitemap-files. The “feed” folder is there, so it is cached as expected.

    Plugin Author Frederick Townes


    Can you submit a bug report from the support tab of the plugin because I cannot reproduce using WordPress SEO, latest plugin version with page caching disc enhanced and cache feeds enabled.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘post-sitemap.xml and other sitemap files doesn't get cached’ is closed to new replies.