Ok, serves me right.
I'll have a look, care to open an issue on jira.codehaus.org ?
Thanks,
-Arne
On 10/11/10 6:45 PM, Nicolas CASTEL wrote:
The value was positive : 900. I tried to set 0 but i dont see any
difference. The layer was a geotiff raster.
I repeat that everything is fine with vector layers. The problem is
with raster layers.
I tried with the 2.0.x nightly build also but i found the same bug
2010/10/11 Arne Kepp <a...@tiledmarble.org <mailto:a...@tiledmarble.org>>
Hm, were you trying to set it to a negative value?
To me it looks like an unsigned integer that rolled over
backwards. I tested positive value, before I looked closely at
your email, and those appear to work.
Set it to 0 if you don't want it cached, or better, have the
client appends &ts=<something random> to every request.
-Arne
On 10/11/10 5:15 PM, Nicolas CASTEL wrote:
Hi, i'm trying to configure cache response headers on a raster
layer on geoserver 2.0.2. I didn't see any changes on the header
when I perform a request with curl :
* Connected to 10.0.4.24 (10.0.4.24) port 8080 (#0)
> GET
/geoserver/wms?HEIGHT=356&WIDTH=512&LAYERS=nurc%3Amosaic&STYLES=&SRS=EPSG%3A4326&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-0.896,31.47059375,28.072,51.61240625&tiled=true
HTTP/1.1
> User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0
OpenSSL/0.9.8g zli <http://1.2.3.3>ibidn/1.1
> Host:
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: image/jpeg
< Expires: Mon, 11 Oct 2010 15:06:05 GMT
< *Cache-Control: max-age=2147483647, must-revalidate*
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)
The same configuration works with vector layer (e.g. shapefile
layer).
* Connected to 10.0.4.24 (10.0.4.24) port 8080 (#0)
> GET
/geoserver/wms?HEIGHT=356&WIDTH=512&LAYERS=sf%3Astreams&STYLES=&SRS=EPSG%3A4326&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-0.896,31.47059375,28.072,51.61240625&tiled=true
HTTP/1.1
> User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0
OpenSSL/0.9.8g zlib/ libidn/1.1
> Host:
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: image/jpeg
< Expires: Mon, 11 Oct 2010 16:13:09 GMT
< *Cache-Control: max-age=3600, must-revalidate*
< Transfer-Encoding: chunked
< Server: Jetty(6.1.8)
Is this a bug?
Regards
Nicolas
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users