Search squid archive

Re: squis is asking if a cached object is modified

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

 



Donoso Gabilondo, Daniel wrote:
I have two pc's with Fedora core 10 and squid.3.0.STABLE13
The content of squid.conf file in both pc's is the same. Squid is
configured as an accelerator.

No your squid is configured as a twisted open proxy. See below for fixes...


Squid stores the objects correctly in both pc's, but in one pc it is
always asking to the http server if the object is modified, and I don't
know why. If I stop the http server, then gets the cached object. The
other pc is always getting the cached object. The http server sends
always the mage-axe=86400 value in the header.

What I am doing wrong? My squid.conf file content is this:

You may not be doing anything wrong. Squid still suffers from bug #7.
http://www.squid-cache.org/bugs/show_bug.cgi?id=7

I seem to remember helping you with .home.nl earlier. That config was a bit weird, but there are some entries in your listed config which worry me terribly...

The global access to permit Purge opens a number of DDoS vectors.

And the use of "always_direct allow all" as the first always_direct line will prevent your otherwise listed cache_peer link every being used.

Also the fact that the cache_peer link settings are listed LAST in the config, instead of first indicates its not going to be used even if available.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.5

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

  Powered by Linux