Re: [squid-users] Allways check the origin server.

From: Marc Elsen <[email protected]>
Date: Thu, 03 Apr 2003 10:55:25 +0200

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�
> carles@unlimitedmail.org
> http://www.unlimitedmail.org/
> ---

-- 
 'Love is truth without any future.
 (M.E. 1997)
Received on Thu Apr 03 2003 - 01:56:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:37 MST