[Tilecache] Max-Age
Alexandre Dube
adube at mapgears.com
Tue Nov 11 16:31:07 EST 2008
I use Apache so I could use mod_expires. But I wonder if there's
anything directly in Tilecache for that. In my opinion, there should be.
Alexandre Dube wrote:
> 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