<div dir="ltr">I based my vanrish config on these recommendations from mediawiki: <div><br></div><div><a href="https://www.mediawiki.org/wiki/Manual:Varnish_caching">https://www.mediawiki.org/wiki/Manual:Varnish_caching</a><br></div><div><br></div><div>And I do have that setting in my VLC that bypasses the cache for any cookies it finds:<br><br></div><div><div> # Pass requests from logged-in users directly.</div><div> if (req.http.Authorization || req.http.Cookie)</div><div> {return(pass);} /* Not cacheable by default */</div></div><div><br></div><blockquote><span style="font-size:12.8000001907349px">you could also check req.http.Cookie's content to check if the session cookie is there, and not unset them in this case. In other cases when user is not logged in, it's probably safe to unset them and show the static version of the page from cache, instead of the logged in version.<br><br><br>That's a good suggestion. I'll look into how to do that! <br><br>In the meantime, I'll enclose my current VCL as an attachment, in case there are any other suggestions based on what I have in the config.<br><br>Thanks<br>Tim</span></blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 12:47 PM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--------<br>
<br>
I think I saw a mediawiki/wikimedia (I can never figure out how<br>
that split is supposed to work...) page about setting up Varnish<br>
in front. Have you checked if there's a explanation there ?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG | TCP/IP since RFC 956<br>
FreeBSD committer | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></span><div class="HOEnZb"><div class="h5"><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" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div>