3 ms·
If you can install it, the best caching solution is varnish. Much better than the wp-supercache and the likes of it (namely because it is can manage both RAM an
by sergiosgc 13y ago
If you can install it, the best caching solution is varnish. Much better than the wp-supercache and the likes of it (namely because it is can manage both RAM and disk cache, with very good content discard strategies). Configuration for WordPress is actually pretty easy, drop me an email if you need some help (don't cache anything under wp-admin and don't cache for logged in users)
- eli 13y agoVarnish won't cache anything for logged in users by default because they'll have a session cookie. Actually, the main challenge with rolling out Varnish is making sure that anonymous users don't have any extra cookies set that could make Varnish think they are not all the same.
- sergiosgc 13y agoYes, the default config does have that (safe) behaviour. It's rather easy to change, by replacing the vcl_recv function in the config. Something like: sub vcl_recv { if (req.http.cookie ~ "wordpress_logged_in_|comment_author_|wp-postpass_") { return (pass); } return (lookup); }