Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Force squid to renew cache


    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
    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
    Is there a way to force refresh the sites or all sites visited by my internet users?


  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    Restart the proxy. If that doesn't work stop the proxy and then delete the cache and recreate with 'squid -z' and start again.


    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts