Click here to find out why your WordPress site deserves better hosting. Performance is key for high-traffic WordPress sites, and there are two main ingredients for great WordPress performance – caching and profiling. In this short tutorial we’ll focus on profiling, how it complements caching, and why all of it really matters.
Just Cache It
When your WordPress site starts to feel slow, and you google the topic, the most popular advice you’ll see is to get some form of page caching. Indeed, page caching tremendously helps serve pages faster, and in many cases it’s as simple as activating a plugin or adding a few of lines to your web server config. That’s great advice, you should definitely do that.
But caching is only one piece of the puzzle. It doesn’t answer the question of why your site is slow, and arguably, neither does it make your site faster — it simply hides the fact that some portion of your application code is slow, and makes it seem faster by not executing that portion. Which is okay.
However, in some scenarios you can’t rely on caching, for example:
Logged in requests, including all of wp-admin
Pages with dynamic content: WooCommerce