Search squid archive

refresh_pattern dynamic content doubts?

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

 



Hi.

I have read in the doc that squid default setup is using the old way
to handle dynamic content:

case A
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

And for the new way for this is using the next settings:
case B
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern .            0 20% 4320

Some sites I had seen they use things like:
case C
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern -i \.index.(html|htm)$ 1440 90% 40320
refresh_pattern -i \.(html|htm|css|js)$ 1440 90% 40320
refresh_pattern .            0 20% 4320

the old way in your experience is no longer the right way for this?
What is the different between case B and case C?
which is better?
for dynamic content is the only settings we have?(I don't care about
youtube or streaming).

exist a formula to setup min/max percent?

Any input will be appreciated, thanks!!!

Squid 2.7.x


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

  Powered by Linux