Comment on doc/sphinx/phk/backends.rst : "wildcard'isch scheme"
slink at schokola.de
Mon Sep 27 12:23:39 CEST 2010
you were asking for comments on your idea to have a "wildcard-ish scheme" for
accessing backend-specific information from a VCL.
IMHO, the following problem exists: Wenn a VCL is added, the semantics of
something like b1() changes (when the new VCL defines a different b1 than the
existing VL), and an old but active VCL might not know how to handle more
backends than it defined itself.
For the default case, I think it is important that, within a VCL, only those
backends are visible which were defined within that VCL.
Should backend polling become controllable from a VCL, having some special
notation to access other VCLs' backends might be useful.
More information about the varnish-dev