by ruben_varnish · 12y ago · 0 comments
https://www.varnish-cache.org/docs/4.0/whats-new/index.html
Otherwise you should just be using a popular file from around the web. Take a look at the Varnish Utilities Directory:
https://www.varnish-cache.org/utilities
There you can find two of the best resources for ready to go VCL (for now Varnish 3 only):
https://github.com/slashsBin/nuCache
https://github.com/mattiasgeniar/varnish-3.0-configuration-t...
I am sure that if you ask nicely, the project members of these efforts might just give you a hand and upgrade to VCL 4.0 syntax a usable Wordpress template. Be willing to test and contribute back with whatever you can though.
I get the whole needing to drop backwards compatibility thing, but without an idiot-proof way of upgrading, you're sentencing users like me, who use Varnish as a sprinkle of magic on the server.
Some examples of before/after of actual vcl files are a must in my opinion.
The "standard" VCL files for popular apps like Wordpress and Drupal will be updated eventually for Varnish 4.0 by the people who maintain them--which are typically not Varnish staff/volunteers, but people who work with those applications specifically.
When services like Varnish go through major upgrades like this, it is normal for there to be a lag between the main release, and the general availability of updated "recipes" or plugins.