Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
From http://open.silverstripe.org/ticket/1646 - see there for more discussion
Google's suggestion in the sitemaps protocol is to provide it as a .gz file, and not just as an .xml file carried over mod_deflate.
Enable support for accessing /sitemap.gz (or is sitemap.xml.gz?)
This will increase the CPU load for producing the sitemap, and so it would be best for this to be cached, say to /assets/.sitemap.xml.gz
if (cachefile < 1 hour old OR ?flush=1 ) create-xml-file-and-save-to-gzipped-cache-file()
header temporary redirect to cache file()
Does the protocol support putting a comment inside the xml file to say the generation time?