[mapserver-users] MapCache - Best Practice for <expires> tag

Worth Lutz wal3 at mindspring.com
Sun Mar 24 13:33:40 PDT 2013


Hi,

 

I'm trying to set up a mapcache and have it working fine.

 

My question is how to set the <expires> tag. I have data which is static and
data which could change daily.

 

I've been using a sqlite database in my testing. I can picture putting the
static data into one sqlite database and maybe putting the <expires> at some
large value.

 

I would then put the variable data into separate sqlite databases and delete
them when the data changes. How would you set the <expires> tag for this
data? Some client side caching is desirable but I do not see how to set a
value which will allow data requested in the late afternoon or evening to be
refreshed after an overnight update if the value is set to 12 hrs or so.

 

I'd like to here how others are setting up their caches and the reasons
behind the settings.

 

Thanks,

Worth Lutz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130324/6f1d4cea/attachment.html>


More information about the mapserver-users mailing list