best practice with varnish

Paul A. Procacci pprocacci at datapipe.com
Wed Jan 28 21:32:36 CET 2015


> >We currently have a single config file containing many regex and
> >condition. Do you think it would be better to split into several small
> >conf file for performance and flexibility?

VCL gets compiled into an object file and then loaded into a running
varnishd process.  Splitting the file into seperate files and what have
you will have 0 impact on performance.

If however you feel that splitting the vcl source into multiple files
helps you maintain it, then that's a good reason to do so.

It's up to you.

~Paul



More information about the varnish-misc mailing list