Hey Mark, That's pretty awesome! Thanks, I'll check it out.
Tim On Mon, Aug 17, 2015 at 4:06 PM, Mark Felder <[email protected]> wrote: > > > On Mon, Aug 17, 2015, at 14:43, Tim Dunphy wrote: > > I based my vanrish config on these recommendations from mediawiki: > > > > https://www.mediawiki.org/wiki/Manual:Varnish_caching > > > > And I do have that setting in my VLC that bypasses the cache for any > > cookies it finds: > > > > # Pass requests from logged-in users directly. > > if (req.http.Authorization || req.http.Cookie) > > {return(pass);} /* Not cacheable by default */ > > > > I've modified their config slightly because I ran into a few issues, but > I can't recall exactly what they were. This has worked pretty well for > me -- anonymous users get data served from cache, logged-in users get > images cached but page content is not. > > I really only use my wiki once a year, but it gets heavy usage (few > hundred people making edits for 3 days straight) and has had good hit > rates and no complaints. > -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
