Mailing List Archive

r3153 - trunk/varnish-cache/redhat
Author: ingvar
Date: 2008-09-02 15:59:13 +0200 (Tue, 02 Sep 2008)
New Revision: 3153

Modified:
trunk/varnish-cache/redhat/README.redhat
Log:
vcl changes from 1.x to 2.0 documented for Red Hat

Modified: trunk/varnish-cache/redhat/README.redhat
===================================================================
--- trunk/varnish-cache/redhat/README.redhat 2008-09-02 12:54:31 UTC (rev 3152)
+++ trunk/varnish-cache/redhat/README.redhat 2008-09-02 13:59:13 UTC (rev 3153)
@@ -5,7 +5,25 @@

Varnish should work fine with GCC 3.3 and above.

+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";
+}
+
Configuration of addresses and ports
====================================
In this package, varnish is configured to make the accelerator daemon