Hi, W3 total cache seems to be minifying the Yoast SEO generated sitemap XML files. If I purge the caches and then open any of the sitemap files it displays the correctly formatted content. However, if I then refresh the browser, the page content gets minified and stays like that (cached?). The only way to get it to display correctly again is to purge the caches.
Comment from XML source:
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/
Page Caching using disk: enhanced
Minified using disk (Request URI is rejected)
Served from: marlacustomblinds.co.uk @ 2020-12-10 15:14:21 by W3 Total Cache
I can repeat this behaviour on 2 other websites (2 different hosting) with exactly the same results.
I have updated the plugins to the latest versions but it remains the same.
I have tried adding Yoast’s suggested code to “Never minify the following pages:” setting under Performance > Minify > Advanced (section).
But it does not fix the problem.
Same behaviour seen in Firefox and Chrome browsers.
Any suggestions ?
The page I need help with: [log in to see the link]
- The topic ‘Sitemap.xml files getting minified and cached’ is closed to new replies.