[Tilecache] Max-Age

Christopher Schmidt crschmidt at metacarta.com
Wed Nov 12 09:03:25 EST 2008


On Wed, Nov 12, 2008 at 08:59:38AM -0500, Alexandre Dube wrote:
>  I don't know ( didn't see the patch, btw I'd like to see it, please ). 
> Mine would be as simple as : add a new variable to the constructor and 
> parse its value ( like I already did, but instead of hardcoding the 
> value "86400", users could enter it in the .cfg file)

This level fo support desn't need a patch to TileCache. Just use
mod_expires in Apache. 

> Btw, what I'm trying to achieve in the end is the best and faster 
> possible way to display raster tiles. Is there an obvious thing I should 
> know about tilecache ? I saw the thread about tilecache layer in 
> OpenLayers which only deliver pre-generated tiles. Is this faster than 
> having a WMS that can do both ?

Yes, it removes Tilecache from the picture entirely, which means that
you just use standard techniques for accelerating filesystem-based
access to your tiles. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list