Dec '10 17

Purge objects from squid

To purge objects from squid cache there are a few methods, if you know the exact URL (file)

  • add “acl purge method PURGE” and “http_access allow purge localhost”
  • squidclient -m PURGE http://some.site.com/file.html

to purge a subset use the purge utility (syspci)

  • ./purge -c /etc/squid3/squid.conf -p localhost:8080 -se ‘http://www.keller.com.au/our-people’ -P1 (-P1 turns off dry-run)