# Purge squid caches

Up to Plone Setup
This tool is used to purge documents on change from one or multiple squid caches.

## Portal URLs through squid

Give the server addresses for all squid caches which should be contacted for each PURGE. Put the full URL of your squid servers here, one per line. Eg: 'http://www.example.com'. This info will be put in front of the document URLs which are relative to the portal object. So this means that the URL's you enter here are the portal's URLs through the squid server. Don't forget the http:// or https:// prefix as it is mandatory.

<tal:block tal:repeat="url portal_squid/squid_urls"><span tal:replace="url" /> </tal:block>

## URLs to purge

Enter an expression for computing the URLs to purge when an object is changed. The expression should return a list of relative URLs. If the expression is left blank, portal_url.getRelativeUrl(object) will be used.

## Purge URL

Enter a URL which should be PURGEed now. You have to give the relative URL relative to your websites root URL. Eg: 'somefolder/anotherfolder/somefile'. This fragment is added to each of the squid URL's defined above.

## Purge All indexed Objects

Press the button below to purge all objects indexed in the portal catalog. This may take some time.