Re: [squid-users] Squid cache cgi-bin

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 24 Feb 2009 11:38:37 +1300 (NZDT)

> Hi,
>
> I have some questions about squid as reverse proxy.
>
> The web server I´m accelerating (cache_peer....) has dynamic content
> (cgi-
> bin).
>
> At the beginning I left the default cache refresh values (so for cgi-bin \
> /
> ? has a value "0") and the hierarchy list for cgi-bin.... and "no_cache
> deny
> all".
>
> Now this pages contain some elements like .gif that I´d like to cash:
> these
> elements have not the path http://nameserver/cgi-bi/... but a path like
> http:
> //nameserver/icons...
>
> I tried with a normal ACL elements url_regex .gif .html .jpeg
>
> and then
>
> cache allow static
>
> But it seems squid is not caching nothing!!!
>
> Could you give me any kind of advice?
>
> Thanks in advance
>

It's a little unclear what config you are having trouble using.
The various options you mention above are a mix of current, obsolete,
deprecated, and irrelevant.

But the use of correct options in the correct order is important for a
working Squid.

What version are you using?

And in the order listed in yoru squid.conf, what lines do you have that
start with:
cache, no_cache, refresh_pattern, acl, or cache_peer*

Amos
Received on Mon Feb 23 2009 - 22:39:17 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 24 2009 - 12:00:01 MST