Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Authcache can break the formatting of the xml file generated with xml sitemap module.
To fix you can prevent it from being cached by adding sitemap.xml to excluded pages.
Comments
Comment #1
Jonah Ellison CreditAttribution: Jonah Ellison commentedThe RC1 version will now detect if content begins with <?xml to avoid breaking the XML formatting.
Comment #3
mudman CreditAttribution: mudman commentedI am using RC1, it still breaks the XML sitemap. Or I need to change some settings somwhere?
Comment #4
vood002 CreditAttribution: vood002 commentedXML sitemap worked fine for me without any changes, I'm assuming because of
Content that begins with <?xml (i.e., XML feeds) will not be cached.
Other XML pages, however, were broken--namely
node/*/xspf
.When I add this string to Cache specified pages: it works fine, but when I add it to Non-HTML Cached Pages and save changes the changes are not saved (the field refreshes empty and the pages are cached normally).
I get no error in my log about this. Is anyone else experiencing an issue with saving the Non-HTML Cached Pages field?
PS: Just installed this today and it is freakin AMAZING. Can't believe I didn't know this module existed.