Search squid archive

Caching Issue with accelerator mode

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

 



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

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

  Powered by Linux