best practice with varnish

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


Hi,

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.

Cheers,
Dridi

On Wed, Jan 28, 2015 at 10:34 PM, Jan-Aage Frydenbø-Bruvoll
<jan at architechs.eu> 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 varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list