<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>
<div class="x_gmail_quote">
<div>> Could be a vary issue
<div><br>
</div>
<div>Ah, I remember hearing about that earlier, and made a mental note to read up on that. But I forgot all about it. Now I did just that, and boy was that a cold shower for me! I definitely need to unset that header. But why, for the love of all that is holy,
 does Varnish not include the vary-data in the hash? Why isn't the hash the _single_ key used when storing and looking up data in the cache? Why does Varnish hide this stuff from us?</div>
<div><br>
</div>
<div>However, when checking the Vary header from the backend, it is set to "Accept-Encoding". And since I haven't changed anything in my browser, it should send the same "Accept-Encoding" request header whenever I surf the website. And since I have visited
 the startpage multiple times the last 10 days, it should have a cached version of it matching my "Accept-Encoding".</div>
<div><br>
</div>
<div>> can you post the output of `varnishlog -d -g request -q 'RespStaus eq 500'?
</div>
<div><br>
</div>
<div>Well, that gives me nothing that is relevant here, sadly. The last time this happened was a few days ago, and the buffer doesn't seem to be big enough to keep data that far back.</div>
<div><br>
</div>
<div>But maybe you could describe what you would look for? I would love to learn how to troubleshoot this.</div>
<div><br>
</div>
<div>> In the meantime, here's a cheat sheet to get started with varnishlog:</div>
<div>> https://docs.varnish-software.com/tutorials/vsl-query/</div>
<div><br>
</div>
Thanks, although most of that stuff I already knew. And it doesn't really give any more advanced examples. Like the problem I mentioned earlier. I really would like to know if it is possible to find the first request where it served the 500 page for the "/"
 url, as well as the request just before that, for the same url. Do you know how to construct a query that gives me that?<br>
</div>
</div>
</div>
</body>
</html>