help with logged in users VCL
Lasse Karstensen
lkarsten at varnish-software.com
Wed Feb 26 11:28:58 CET 2014
On Mon, Feb 24, 2014 at 04:35:40PM -0300, Hernán Marsili wrote:
[..]
> We are getting an erratic behavior with the HTML caching. Sometime it
> works, sometimes it doesn't but we are we are getting MISS when we should
> be getting HITs. Or for example, we get a MISS, refresh and get a HIT.
> Close the browser, enter again and we get another MISS.
> Here is the VCL we built. http://paste.ubuntu.com/6990596/
> Any help will be much appreciated.
I can't really say that your VCL supports the problem you are describing.
However, request pipelining/connection reuse and return(pipe) often does bite
a bit, so I suggest you add this snippet and try again:
sub vcl_pipe {
set bereq.http.connection = "close";
}
(and you can remove the Accept-Encoding section, Varnish does that internally in 3.0)
--
With regards,
Lasse Karstensen
Varnish Software AS
More information about the varnish-misc
mailing list