Re: [squid-users] Caching problem

From: Michael Jurisch <archer@dont-contact.us>
Date: Mon, 15 Oct 2007 09:46:35 +0200

Hi there!

> cache_peer real.server.example 80 0 no-query no-digest no-netdb-exchange
> originserver
>
> That should do it for the ICP queries, and some other potential unwanted
> ones.

Ah, ok, thanks a lot, will test this out as soon as the server is running again ... :-(

> refresh_pattern only works when Expires: or Cache-Control: headers are
> MISSING.

Well, I have just a simple test html file, which looks like this:
<html>
<head></head>
<body>
Test<br />
<img src="test.jpg" />
</body>
</html>

So there are no Expires: or Cache-Control: headers in it, but it still seems not to work!? And related to that: in order to cache not html files (e.g. jpg and so on), this is only possible through the refresh_pattern rules, isn't it? Cos these files don't have these headers.

> > Another question is whether you know a good file manager to browse and
> manipulate the cache? I was finally able to get "cachepurger" running (was
> hard to find, as it seems that www.isp_systems.com is down), but it offers
> to less and doesn't seem to work really correct (or the behaviour of squid
> is strange, because when I look at "All Cache Objects" in the "Cache Manager
> Interface" I see slightly different files).
> >
>
> Haven't looked at this yet myself sorry.

NP, but if anyone other could help with that, it would be great. It also seems that I have to edit/extend the source code to our needs, but I don't know how the copyrights etc. look like for it. So a better file manager would be great. :-)

Greetings
Micha
Received on Mon Oct 15 2007 - 01:46:49 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT