Actually, unless I'm missing something, that line would only matter for 
requests with Authorization headers, which none of our responses have since we 
don’t use http authentication.

-----Original Message-----
From: Justin Lloyd 
Sent: Tuesday, December 13, 2016 6:47 AM
To: 'Dridi Boukelmoune' <[email protected]>
Cc: Guillaume Quintard <[email protected]>; 
[email protected]
Subject: RE: Hit ratio dropped significantly after recent upgrades

Hmm, interesting. I've never made the connection to that line, which is part of 
the recommended Varnish configuration for MediaWiki[1], but it's not been a 
problem in the past as far as I know. I'll definitely investigate this more 
deeply. Thank you!

[1] https://www.mediawiki.org/wiki/Manual:Varnish_caching


-----Original Message-----
From: Dridi Boukelmoune [mailto:[email protected]]
Sent: Tuesday, December 13, 2016 6:40 AM
To: Justin Lloyd <[email protected]>
Cc: Guillaume Quintard <[email protected]>; 
[email protected]
Subject: Re: Hit ratio dropped significantly after recent upgrades

On Tue, Dec 13, 2016 at 3:23 PM, Justin Lloyd <[email protected]> wrote:
> Here’s a typical varnishlog miss for a thumbnail image, appropriately 
> sanitized. I can provide more if it helps
>
> https://gist.github.com/Calygos/ca7906da005569046a7031d1fcaa6372

After a quick look at the log, I was able to find which line [1] of VCL is 
responsible for this behavior. Your backend doesn't say that the resource is 
public, so you may have to configure mediawiki to mark thumbnails as public. 
This is not something I can help with.

Cheers

[1] 
https://gist.github.com/Calygos/105957a997ea3bde6b8257a1f34bbd20#file-wiki-vcl-L144
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to