Carles Xavier Munyoz Bald� wrote: > > Hi, > I have Squid installed in my FW as a transparent proxy. > I have been analysing the access_log file and I have seen that I have a lot of > TCP_IMS_HIT/304 log lines. > > If I'm not wrong, this logs means that the proxy return a non modified code > (304) to the browser that iussed the HTTP request without forwarding the > request to the origin server. > > I would like that squid always forwards a conditional GET to the origin server > of all the objects it has in its cache. > Is it possible ? > How ?
IMS_HIT means Squid returned a 304 not modified reply without forwarding the request to the origin server (true). But the why of your question is strange : given freshness information for objects, squid takes that into account and will not bother the remote webserver, if not needed. You can prevent certain sites from being cached, if you would need this for specific purposes. Checkout the 'no_cache' directive in squid.conf.default M. > > Greetings. > --- > Carles Xavier Munyoz Bald� > [EMAIL PROTECTED] > http://www.unlimitedmail.org/ > --- -- 'Love is truth without any future. (M.E. 1997)
