Heads up: varnish goes from 1.1.2 to 2.0-beta1

Ingvar Hagelund ingvar at linpro.no
Tue Sep 2 14:09:12 UTC 2008


varnish is a high performance http accelerator.

As the long expected varnish-2.0 is not too far away, I'm starting the
upgrade race now, and beta1 will hit rawhide soon. Those who can't wait
can get srpm and specfile from http://init.linpro.no/ingvar/varnish/

For those running 1.1.2 or earlier, mark that there are changes in the
vcl syntax, see excerpt from README.redhat below.

For more information about varnish, see http://www.varnish-cache.org/

Ingvar



Upgrading from 1.x to 2.0
=========================
There are a few changes in the vcl language from varnish-1.x to 2.0.
Because of varnish' dynamic vcl loading feature, there is no way to
guarantee that the vcl file in use actually exists on disk. Thus,
there is no way to securely automate this process, and one must do the
changes by hand.

In vcl, the word "insert" has been replaced by "deliver".

In the vcl declaration of backends, where one earlier used "set
backend", backend parts are now just prefixed with a dot, so the
default localhost configuration will look like this:

backend default {
  .host = "127.0.0.1";
  .port = "80";
}




More information about the fedora-devel-list mailing list