michalc Posted October 2, 2008 Share Posted October 2, 2008 Hi, I've just written a script to generate a Google XML Sitemap for an (admittedly small) site. HTTP header-wise, all it does is set the mime type as "application/xml". However, I have realised that the sitemap itself does not send a last-modified date, or respond appropriately to if-modified-since request. I was wondering what people's opinion on this is. Should I bother setting up the last-modified date at the most recent date in the Sitemap, and setup an if-modified-since response for the Sitemap itself? Michal. Quote Link to comment Share on other sites More sharing options...
amites Posted October 2, 2008 Share Posted October 2, 2008 or just generate a static site map and set it to run the script each time you change something as they say KISS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.