Hi Hugo,<br><br>This problem I resolved today, my problem now is varnishncsa that is not logging.<br><br>The log is coming this way<br>172.24.2.41 - - [15/Jun/2012:19:13:42 -0300] "- <a href="http://localhost-">http://localhost-</a> HTTP/1.0" 0 "-" "-"<br>
<br>and the correct should be<br>172.22.2.41 - - [13/Jun/2012:16:06:00 -0300] "GET <a href="http://test.com/test1.jpg">http://test.com/test1.jpg</a> HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0"<br>
<br><br>Any idea?<br><br><div class="gmail_quote">On Mon, Jun 18, 2012 at 5:19 PM, Hugo Cisneiros (Eitch) <span dir="ltr"><<a href="mailto:hugo.cisneiros@gmail.com" target="_blank">hugo.cisneiros@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Jun 14, 2012 at 3:04 PM, Claudio Devecchi <<a href="mailto:cdevecchi@gmail.com">cdevecchi@gmail.com</a>> wrote:<br>
> I compiled the version following the instructions on<br>
> <a href="https://www.varnish-cache.org/trac/wiki/BackendConditionalRequests" target="_blank">https://www.varnish-cache.org/trac/wiki/BackendConditionalRequests</a>, and<br>
> using varnishlog I already see the headers If-Modified-Since and<br>
> If-None-Match. But when the obj.ttl expires, varnish gets a 200 from backend<br>
> and I was expecting 304.<br>
<br>
</div>Did you use the keep setting on the objects? And also check if you<br>
have something like "if (obj.ttl <= 0) { return (pass); }" along your<br>
VCL. Also, compare your varnishlog with the one from the page. If you<br>
still can't get the 304, post the varnishlog of the request :)<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
[]'s<br>
Hugo<br>
<a href="http://www.devin.com.br" target="_blank">www.devin.com.br</a><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</div></div></blockquote></div><br>