Hi PHK,<div><br></div><div>Attached is a patch with proposed documentation changes for streaming-ng. (Not all of the functionality referenced there is implemented yet).</div><div><br></div><div>Example VCL usage follows:</div>
<div><br></div><div>sub vcl_fetch {</div><div> set beresp.do_stream = true;</div><div> if (req.http.host ~ "my.dvdimage.host") {</div><div> /* These hosts serve static dvdimage's from nginx, don't try to cache and don't waste cache space on them */</div>
<div> set beresp.stream_pass_bufsize = 10M;</div><div> return (hit-for-pass);</div><div> } else if (req.http.host ~ "custom.image.host") {</div><div> /* Serves custum tailored images, non-cacheable. Forking webserver, keep backend connection time to a minimum */</div>
<div> set beresp.stream_pass_bufsize = 0;</div><div> return (hit-for-pass);</div><div> }</div><div>}</div><div><br></div><div>Martin</div><div><div><br></div>-- <br>Martin Blix Grydeland<br>Varnish Software AS<br>
<br>
</div>