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

Worth Lutz wal3 at mindspring.com
Mon Apr 8 10:21:46 PDT 2013


Hi,

 

I never got an answer on this.  Any knowledgeable users out there who have
looked into this?

 

Worth 

 

  _____  

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Worth Lutz
Sent: Sunday, March 24, 2013 4:34 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] MapCache - Best Practice for <expires> tag

 

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

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2904 / Virus Database: 2641/6199 - Release Date: 03/23/13

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130408/8263aa09/attachment.html>


More information about the mapserver-users mailing list