[squid-users] refresh_pattern dynamic content doubts?

From: Beto Moreno <pamrtj_at_gmail.com>
Date: Sat, 19 May 2012 21:52:57 -0700

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
Received on Sun May 20 2012 - 04:53:05 MDT

This archive was generated by hypermail 2.2.0 : Sun May 20 2012 - 12:00:03 MDT