Search squid archive

Re: Quick question about squid serving images

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

 



Hi Angelo, and thanks for your answer

I believe I have it set up correctly on the apache side: this is what I get

apache response

HTTP/1.1 200 OK
Date: Thu, 19 Nov 2009 09:50:25 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
Last-Modified: Wed, 16 Sep 2009 07:34:31 GMT
ETag: "83e24a-347a-473acedfa0fc0"
Accept-Ranges: bytes
Content-Length: 13434
Cache-Control: max-age=604800, public
Expires: Thu, 26 Nov 2009 09:50:25 GMT
Connection: close
Content-Type: image/png

And I think squid gets a hit, so I obviously have it configured
incorrectly, because I still get a hit on the apache logs... Would you
take a look at it if I post it?

This is the squid response on first hit

HTTP/1.0 200 OK
Date: Thu, 19 Nov 2009 10:10:25 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
Last-Modified: Thu, 19 Nov 2009 09:55:07 GMT
ETag: "9a25a1-497c-478b65aa534c0"
Accept-Ranges: bytes
Content-Length: 18812
Cache-Control: max-age=604800, public
Expires: Thu, 26 Nov 2009 10:10:25 GMT
Content-Type: image/jpeg
X-Cache-Lookup: MISS from squid.example.com:80
Via: 1.1 squid.example.com:80 (squid/2.7.STABLE6)
Connection: close

This is the squid response on first hit

HTTP/1.0 200 OK
Date: Thu, 19 Nov 2009 10:10:25 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch
Last-Modified: Thu, 19 Nov 2009 09:55:07 GMT
ETag: "9a25a1-497c-478b65aa534c0"
Accept-Ranges: bytes
Content-Length: 18812
Cache-Control: max-age=604800, public
Expires: Thu, 26 Nov 2009 10:10:25 GMT
Content-Type: image/jpeg
X-Cache-Lookup: HIT from squid.example.com:80
Via: 1.1 squid.example.com:80 (squid/2.7.STABLE6)
Connection: close

Thanks again

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

  Powered by Linux