Jump to content

Dynamic XML Sitemap: Should use last-modified and if-modified-since?


michalc

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.