best practice with varnish

Dridi Boukelmoune dridi.boukelmoune at
Wed Jan 28 23:06:46 CET 2015


I usually move environment-specific stuff to a specific file, and keep
the cache policy in a single file. By environment, I mean dev,
staging, production etc.

What usually changes between environments is backends/directors, ACLs
and backend selection.


On Wed, Jan 28, 2015 at 10:34 PM, Jan-Aage Frydenbø-Bruvoll
<jan at> wrote:
> Hi,
> We've split relatively static stuff like backends, health checks, etc into separate files in order to reduce the noise in the main VCL. The logic remains in a single file, though.
> Best regards
> Jan
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

More information about the varnish-misc mailing list