[squid-users] Caching Issue with accelerator mode

From: Frank Hoang <frank.hoang@dont-contact.us>
Date: Tue, 12 Sep 2006 08:00:36 -0700

Using squid 2.5.13

Having a strange caching issue for dynamic pages.
Current headers are
Cache-Control: max-age=20, must-revalidate
Page should be cached for 20 seconds

During offpeak times, caching will work and Age of page will always be
under 20seconds. This works the way its intended.
The page will always have an age under 20 seconds.
During Peak times, when traffic is high. the Age of the page will stay
cached by squid and have Page Age of ~120-300 seconds.

squid.conf file
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_uses_host_header on
httpd_accel_with_proxy off
refresh_pattern \.gif$ 0 100% 900 ignore-reload
refresh_pattern \.jpg$ 0 100% 900 ignore-reload
refresh_pattern \.xml$ 0 100% 900 ignore-reload
refresh_pattern \.swf$ 0 100% 900 ignore-reload
refresh_pattern . 0 100% 4320 ignore-reload

collapsed_forwarding on

quick_abort_min 0 KB
quick_abort_max 0 KB
client_lifetime 20 minutes
half_closed_clients off

Testing on squid 2.6Stable3 on a staging box gets the intended results
also. Low Traffic, its works as intended.
Have not released 2.6 into production yet, so I not sure if it will work
in higher traffic. Still doing more testing.

Any suggestions would be helpful

thanks

Frank
Received on Tue Sep 12 2006 - 09:00:49 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT