Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sitemaps.xml: Allow gzip support, cache? #13

sminnee opened this issue Mar 31, 2012 · 1 comment


Copy link

@sminnee sminnee commented Mar 31, 2012

From - 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?


This comment has been minimized.

Copy link

@dhensby dhensby commented Jul 27, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.