Search squid archive

Re: caching geoserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2006-09-19 klockan 15:28 +0200 skrev Peppo Herney:

> 1158668471.343    156 129.26.149.240 TCP_MISS/200 29792 GET http://129.26.151.234:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=topp:states&width=550&height=250&srs=EPSG:4326 - DIRECT/129.26.151.234 image/png

Request:

> [Host: 129.26.151.234:8080\r\n
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4\r\n
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n
> Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3\r\n
> Accept-Encoding: gzip,deflate\r\n
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
> Keep-Alive: 300\r\n
> Proxy-Connection: keep-alive\r\n
> Cookie: JSESSIONID=40q0nadg3udc7\r\n
> Cache-Control: max-age=0\r\n]

Response:

> [HTTP/1.1 200 OK\r\n
> Content-Type: image/png\r\n
> Connection: close\r\n
> Server: Jetty(6.0.x)\r\n\r]

> I also put it into a cacheability checker and it said the object would be stale. Cache-Control: max-age=0 doesn't look too promising.
> Is there an option to force caching on it?


There is nothing in the response which prevents it from being cached,
but nothing which makes it cached either. Typical "dynamic response with
no regard to caching". You can add expiry information to this response
with the min parameter in refresh_pattern if needed.


However, the request explicitly says the response must be fresh (or at
least verified fresh). You can override this with ignore-reload.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux