Cache-control configuration ignored on raster Layer
---------------------------------------------------
Key: GEOS-4170
URL: http://jira.codehaus.org/browse/GEOS-4170
Project: GeoServer
Issue Type: Bug
Components: Global
Affects Versions: 2.0.2
Environment: Windows and Ubuntu linux
Reporter: Nicolas CASTEL
Assignee: Andrea Aime
The configuration of the 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 zliMailScanner has detected a possible fraud attempt from "1.2.3.3" claiming to be 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira