How it works...
WordPress sites can be slowed down due to many independent reasons. In this recipe, we looked at three ways through which we can fix slow WordPress sites. We started by enabling caching on the WordPress site. In this case, we used the W3 Total Cache plugin for enabling the cache. This is a fully-featured plugin that provides different types of cache-storing mechanisms, along with the ability to configure caching for different parts of the site. In this case, we enabled the Page cache and Database cache settings to illustrate the caching features.
Once enabled, the plugin will cache the pages and database results in the disk as cached files. These files are stored in the wp-content/cache folder of the WordPress installation. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access