3 ms·
Primarily by putting a caching proxy server like Varnish in front of Wordpress.
by sciurus 9y ago
Primarily by putting a caching proxy server like Varnish in front of Wordpress.
- agrajag 9y agoYep, this is what we do. Adding in some kind of object cache cluster wasn't a significant enough of an improvement over just hitting mysql to justify the extra point of failure. The problem is WP just makes a ton of simple queries - in any complex install the bottleneck is probably going to be network latency to the database.
- morgo 9y agoI think this echo's Rene's point about moving the cache closer to the application as well. I have some hypothetical numbers illustrating the impact of network latency: http://www.tocker.ca/2013/11/18/how-important-is-it-to-merge-queries-together.html http://www.tocker.ca/2013/11/18/how-important-is-it-to-merge... The simple queries are basically free once they get to MySQL. Query cache does not help.