On 19-11-2009 12:14, NublaII Lists wrote: > 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
Looks good, the second response via squid looks like a hit. What does the iis log look like? It could be that squid thinks the object is not fresh, and tries to find out if the object has changed since. -- With kind regards, Angelo Höngens systems administrator MCSE on Windows 2003 MCSE on Windows 2000 MS Small Business Specialist ------------------------------------------ NetMatch tourism internet software solutions Ringbaan Oost 2b 5013 CA Tilburg +31 (0)13 5811088 +31 (0)13 5821239 a.hong...@netmatch.nl www.netmatch.nl ------------------------------------------