<div dir="ltr">Run "varnishadm vcl.show -v boot", this will show you what files are used to build the vcl, and you'll notice "builtin.vcl". This is the code that gets executed when you don't return from your subroutines. You can also try and "locate builtin.vcl" to get that code.<div><br></div><div>Now, to answer your second question, don't care about it, but have your backend reply with a vary header if the accept-encoding header is important.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-- <br></div>Guillaume Quintard<br></div></div></div>
<br><div class="gmail_quote">On Fri, Oct 28, 2016 at 10:51 AM, Admin Beckspaced <span dir="ltr"><<a href="mailto:admin@beckspaced.com" target="_blank">admin@beckspaced.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello varnish users,<br>
<br>
I'm using varnish 5 and I'm actually quite new to varnish, so i apologize in advance, if I'm asking 'stupid' questions ;)<br>
<br>
I'm currently thinking about the following:<br>
<br>
sub vcl_hash {<br>
<br>
# If the client supports compression, keep that in a different cache<br>
if (req.http.Accept-Encoding) {<br>
<br>
hash_data(req.http.Accept-Enco<wbr>ding);<br>
<br>
}<br>
<br>
}<br>
<br>
do I need to do this? or is there some default vlc_hash by varnish, which automatically does those things by itself?<br>
and if so, where can i find the default varnish vlc? github? link to the documentation?<br>
<br>
thanks & greetings<br>
becki<br>
<br>
______________________________<wbr>_________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer" target="_blank">https://www.varnish-cache.org/<wbr>lists/mailman/listinfo/varnish<wbr>-misc</a><br>
</blockquote></div><br></div>