On Mon, 02 Aug 2010 07:56:09 +0800, Gemmy <chenryn@xxxxxxx> wrote: > Hi~ > I have a nginx webserver adding the static-etags module and a > squid2.6.23 before the nginx. When I access to the nginx directly, I can > see the ETag in response header and If-None-Match in the request header > after refresh. But when I access to the squid, ETag header still > exist,If-None-Match header disappeared! > The squid.conf have most basic configuration items, nothing about cache. > Why does this happen? Squid-2 has problems with If-None-Match. http://bugs.squid-cache.org/show_bug.cgi?id=2112 Please upgrade to Squid-2.7. It will behave a lot better regarding ETags in general and http://bugs.squid-cache.org/show_bug.cgi?id=2112 has some patches on 2.7 that you may want to try. Amos