Figuring out VCL

Anders Berg andersb at vgnett.no
Wed Apr 12 00:34:14 CEST 2006


>
> Does this little flow-graph make sense ?
>
> 	http://phk.freebsd.dk/misc/vcl.pdf
>
> The three boxes are the three places where VCL code gets involved and
> the contents of the boxes is the default VCL code.

Great.

Yes, this makes sense. 2 questions:

1. From box 2 you have a error "arrow", is this for when a request is like
"GET /%#!! HTTP/1.0" <- chars that are not allowed?
2. The "Pass HTTP request to backend" points to "Request completed" when
there is a pass. Is this done just to simplify the flow-graph? Varnish
would get involved in delivering back the document anyway. This maybe
outside the scope of the flow-graph, but I thought I'd point it out
anyway.

Other that that, I find it a correct representation of what we have
discussed so far.

Anders Berg




More information about the varnish-dev mailing list