WMS image cache?

Paul Ramsey pramsey at REFRACTIONS.NET
Wed Jun 29 14:11:02 PDT 2005


Read back the headers, it is possible it is being returned with a 
no-cache directive. Actually, checking mod_proxy, it looks like it 
respects the HTTP headers pretty well (which would actually be a bad 
thing, in your case).

p

Doug Cates wrote:

> On Wednesday 29 June 2005 13:34, Ethan Alpert wrote:
> 
>>If the URL is truly the same wouldn't your browser cache it for you?
> 
> 
> I was hoping so too. Not happening though. Here's the server log. I'll check 
> out Pul Ramsey's suggestion and let everyone know.
> 
> 24.87.184.147 - - [29/Jun/2005:14:50:49 -0700] 
> "GET /wms/sanjuan?VERSION=1.1.1&REQUEST=GetMap&LAYERS=sjparcels2&STYLES=&SRS=EPSG%3A32148&BBOX=1072699.2524193549,617071.0,1077563.7475806451,621620.0&WIDTH=663&HEIGHT=620&FORMAT=image/png&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_blank& 
> HTTP/1.1" 200 12420 
> "http://www.moximedia.com/imf-ows/imfMainMap.jsp?cmd=refresh&mapid=24205&w=663&h=620" 
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050511 
> Firefox/1.0.4"
> 
> 24.87.184.147 - - [29/Jun/2005:14:52:42 -0700] 
> "GET /wms/sanjuan?VERSION=1.1.1&REQUEST=GetMap&LAYERS=sjparcels2&STYLES=&SRS=EPSG%3A32148&BBOX=1072699.2524193549,617071.0,1077563.7475806451,621620.0&WIDTH=663&HEIGHT=620&FORMAT=image/png&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_blank& 
> HTTP/1.1" 200 12420 
> "http://www.moximedia.com/imf-ows/imfMainMap.jsp?cmd=refresh&mapid=24206&w=663&h=620" 
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050511 
> Firefox/1.0.4"
> 
> The "200" after the "HTTP/1.1" indicates that it was re-requested and not 
> cached by either the browser or server. 
> 
> Thanks,
> Doug



More information about the MapServer-users mailing list