[Tilecache] Max-Age

Alexandre Dube adube at mapgears.com
Tue Nov 11 16:22:28 EST 2008


Hi list,

  Is there a way to set tilecache to return images with a max-age so 
that the browser use local cache instead of having to request for tiles 
all the time (even if they are cached on server-side ) ?

  I had to add this line to Service.py at line 291 to do this behavior :
print "Cache-Control: public, max-age=86400"

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Tilecache mailing list