Image Cache

Brent Fraser bfraser at geoanalytic.com
Thu Nov 4 12:41:35 PST 1999


Steve's just kidding (you gotta love that Unix humor).
I'll be putting it thru the NT blender as soon as he
releases the source....

As for the caching problem, I noticed that back in
May, and after much investigation (see attached
email thread) we came up with the solution of adding
a timestamp value to the file names.  Hopefully,
Steve will have that option in the soon-to-be-released
version...

Brent

----- Original Message -----
From: KIERAN AMES <kames at keyspanenergy.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, November 04, 1999 12:29 PM
Subject: Re: Image Cache


> I've waited for more than a year to be able to do the things I've done in
> just the past few days! By all means, "Carry on!" .
> (I just worry about the "assuming it'll compile on NT" part of your reply.
> Brent has been great help. Dare I ask for more???)
>
>     <PETRIFIED>
>         shiver, shiver; worry, worry. Then, what'll I do??
>     </PETRIFIED>
>
> Kieran
>
> Stephen Lime wrote:
>
> > You could hack mapserv.c and have it spit out
> > the tag you mention. Another way would be to
> > come up with a more unique naming convention.
> > Version 3.3 now uses time + pid for what should
> > be a truly unique name. If you can hold out for a
> > few more days your problem should be solved,
> > assuming it'll compile on NT. ;-)
> >
> > Steve
> >
> > <<< "KIERAN AMES" <kames at keyspanenergy.com> 11/ 4  1:04p >>>
> > I've installed a port of Mapserv onto a NT4.0 machine and am now
> > experimenting. I've run across an implementation problem with regard to
> > images being cached.
> >
> > I believe that image names are created with the map name concatenated to
> > the processID. In NT, process IDs don't run very high and are re-used.
> > Therefore, when a new image is created, the client browser sees an image
> > name and if it finds it in its local cache, it doesn't fetch the revised
> > image that was just created.
> >
> > I can control this in regular cgi (Perl) by sending non-parsed headers
> > and delivering a "Pragma:No-cache" line in the http headers. Is there an
> > equivalent solution with MapServ on an NT platform?
> >
> > Thanks very much.
> > Kieran Ames
> >
> > PS. I'm new to MapServ, but I think its GREAT!
>
>
-------------- next part --------------
An embedded message was scrubbed...
From: "Stephen Lime" <steve.lime at dnr.state.mn.us>
Subject: Re: caching at browser
Date: Tue, 18 May 1999 10:06:04 -0500
Size: 10605
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/19991104/2eb6eb13/attachment.eml>


More information about the MapServer-users mailing list