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.
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. -- Guillaume Quintard On Fri, Oct 28, 2016 at 10:51 AM, Admin Beckspaced <[email protected]> wrote: > hello varnish users, > > I'm using varnish 5 and I'm actually quite new to varnish, so i apologize > in advance, if I'm asking 'stupid' questions ;) > > I'm currently thinking about the following: > > sub vcl_hash { > > # If the client supports compression, keep that in a different cache > if (req.http.Accept-Encoding) { > > hash_data(req.http.Accept-Encoding); > > } > > } > > do I need to do this? or is there some default vlc_hash by varnish, which > automatically does those things by itself? > and if so, where can i find the default varnish vlc? github? link to the > documentation? > > thanks & greetings > becki > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
