Search squid archive

Re: Squid cache cgi-bin

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

 



> 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


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

  Powered by Linux