<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We're having a problem with users getting an old cache version every now and then. Most of the times it happens in the morning, it might be something with the browsert not beeing used overnight?<div><br></div><div>What I do know for a fact is that the page looks right behind varnish, so it must be either Varnish, headers or the browser – or a combination of the ones mentioned.</div><div><br></div><div><b>Headers sent from backend to Varnish:</b></div><div><blockquote type="cite">Status: HTTP/1.1 200 OK<br>Date: Thu, 06 Jan 2011 14:01:29 GMT<br>Server: Apache/2.2.12 (Ubuntu)<br>X-Powered-By: PHP/5.2.10-2ubuntu6.5<br>Cache-control: max-age=600<br>Connection: close<br>Content-Type: text/html; charset=utf-8</blockquote></div><div><br></div><div><b>Headers sent from Varnish to browser:</b></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote><blockquote type="cite">Status: HTTP/1.1 200 OK<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Server: Apache/2.2.12 (Ubuntu)<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>X-Powered-By: PHP/5.2.10-2ubuntu6.5<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Cache-control: max-age=600<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Content-Type: text/html; charset=utf-8<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Content-Length: 92664<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>X-hash: /#www.XXXX.no#<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Date: Thu, 06 Jan 2011 13:59:45 GMT<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>X-Varnish: 393208439 393133417<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Age: 528<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Via: 1.1 varnish<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>Connection: close<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>X-Cache: HIT<br><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"></blockquote>X-Cache-hits: 158<br>X-Server: Percy</blockquote><div><br></div>I've uploaded the VCL file here: <a href="http://pastebin.com/4SyVDy70">http://pastebin.com/4SyVDy70</a><br><br><div>Could it be that the browser for some reason decides it doesn't want to check for/load a new version from the host? I'm no Varnish expert, and even though I've been able to solve what's come up through the year this one is driving me mad.</div><div><br></div><div>Some help would be mostly appreciated!</div><div><br></div><div>Kind regards,</div><div>K. Brabrand</div></body></html>