Results 1 to 2 of 2
Hi,
How to force squid to renew the cache on all the sites visited?
I have this new domain name, and still displays the old page, if I tried to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-21-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 44
Force squid to renew cache
Hi,
How to force squid to renew the cache on all the sites visited?
I have this new domain name, and still displays the old page, if I tried to surf directly on internet (no squid proxy), it display the new page already.
Here's my squid.conf refresh_pattern
Is there a way to force refresh the sites or all sites visited by my internet users?Code:refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern (cgi-bin|\?) 0 0% 0 refresh_pattern . 0 20% 1440 refresh_pattern \.index.(html|htm)$ 1 10% 10 override-expire override-lastmod refresh_pattern \.(html|htm|css|js)$ 1 10% 10 override-expire override-lastmod refresh_pattern \.(gif|png|jpg|jpeg|ico)$ 20 20% 1440 override-expire refresh_pattern \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire refresh_pattern \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$ 10080 90% 43200 override-expire
Thanks.
- 02-22-2011 #2
Restart the proxy. If that doesn't work stop the proxy and then delete the cache and recreate with 'squid -z' and start again.


Reply With Quote
