Is there a cleaner and more effective way to use these
refresh_patterns? This is what I have so far.
I would love to cache more of FLV content and specific sites that get
lots of traffics, such as yahoo and news.google.com


refresh_pattern -i \.flv$ 10080 90% 999999 ignore-no-cache
override-expire ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200
override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|x-flv)$ 43200 90%
432000 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i
\.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200
override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern ^ftp: 144000 20% 1008000
refresh_pattern (/cgi-bin/|\?) 0 0% 0
refresh_pattern .               0       20%     4320

Reply via email to