对一个jsp的访问每次都会转发到web server上:X-Cache: MISS from squidhost[iyunv@Fedora-WLS9-1 bin]# curl -I http://147.151.240.52:3128/examples/jsp/test.jsp
HTTP/1.0 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=F3C10D53A916B1852D06687E9E581A2F; Path=/examples
Content-Type: text/html
Content-Length: 972
Date: Fri, 03 Aug 2012 17:51:01 GMT
X-Cache: MISS from squidhost
X-Cache-Lookup: MISS from squidhost:3128
Via: 1.0 squidhost:3128 (squid/2.6.STABLE22)
Connection: close
对一个静态的html的访问每次都会转发到web server上:X-Cache:
HIT from squidhost
[iyunv@Fedora-WLS9-1 bin]# curl -I http://147.151.240.52:3128/examples/jsp/test.html
HTTP/1.0 200 OK
Server: Apache-Coyote/1.1
Accept-Ranges: bytes
ETag: W/"26-1343982480000"
Last-Modified: Fri, 03 Aug 2012 08:28:00 GMT
Content-Type: text/html
Content-Length: 26
Date: Fri, 03 Aug 2012 17:28:54 GMT
Age: 195
X-Cache: HIT from squidhost
X-Cache-Lookup: HIT from squidhost:3128
Via: 1.0 squidhost:3128 (squid/2.6.STABLE22)
Connection: close