How to purge Varnish cache

Valic —  August 10, 2011 — 3 Comments

If you’re new varnish user, this is some words about varnish:

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. Unlike other HTTP accelerators, such as squid, which began as a cache on the client, or Apache2, which is mainly an origin server, Varnish was designed from the ground up as an HTTP accelerator..

Now I will show you how to purge all the cache without restarting the daemon.
The following coomand will do this for you:

varnishadm -T url.purge .*


Squid is used by hundreds of Internet Providers world-wide to provide their users with the best possible web access. Squid optimises the data flow between client and server to improve performance and caches frequently-used content to save bandwidth.

Squid can also route content requests to servers in a wide variety of ways to build cache server hierarchies which optimise network throughput.

Step 1. Install  Squid

apt-get install squid

Step 2. Allow your network to use the proxy server.

Append lines similar to these to your config. Continue Reading…

Page 1 of 11