Quantcast
Channel: Issues for XML sitemap
Viewing all articles
Browse latest Browse all 1238

The cache-control header should specify a 'max-age' directive to inform proxies of the XML's cacheability

$
0
0

Hi,

We are currently experiencing a problem with varnish caching the XML sitemap for the default lifetime for a resource that does not specific a minimum cache lifetime.

Can a 'Cache-Control' header of 'max-age' be added ?

Attached is a simple patch that provides this.


Viewing all articles
Browse latest Browse all 1238

Trending Articles