[Tilecache] Max-Age

Linde Ackermans roselinda.ackermans at ec.europa.eu
Fri Mar 13 05:09:01 EDT 2009


Dear Alexandre,  ( or someone else )

Would you be so kind to specify a bit more where exactly you added the line
     print "Cache-Control: public, max-age=86400" ( not the line number, but
a bit of context )
in the Service.py file ? 
Thanks

Linde Ackermans


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
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 
> 

-- 
View this message in context: http://n2.nabble.com/Max-Age-tp1837643p2472403.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list