Re:10 Million hits a day with Wordpress using a $15 server
by IanDrake on Friday March 30, 2012 @03:31PM
(#3777689)
Really? That's interesting. I assumed the WP caching was straight page output caching.
Re:10 Million hits a day with Wordpress using a $15 server
by hkarthik on Friday March 30, 2012 @05:35PM
(#3778200)
Some of the cache plugins may just utilize page output caching, but IMO if you're spinning up your language runtime (Ruby, PHP, Python, Java, .NET) just to do page caching, you've already lost. Varnish and even built in Web Server caching can be far more efficient.
It's better to use the language runtime for more specific caching inside your application logic and for smarter cache expiration.
WP caching speeds up requests that spin up PHP by preventing them from making a connection to the MySQL Database. This is useful for requests that may peruse multiple blog posts, but load the exact same sidebar content by caching things like post counts, categories, tag clouds, etc.