By default WordPress is a dynamic CMS (Content Management System). This means that for every visitor request that WordPress has to process, it must first connect to the database to see if the requested page even exists.
This may not be a problem if your site does not receive a lot of traffic. However if a lot of users or search engine bots try to use your site and you have an increase in traffic, this can cause your website to use up a lot of CPU resources from the server.
You can counter the increase in CPU usage by installing a caching plugin. What these do is cache the first visitor’s request of a new page to a plain HTML file on the server, so when another visitor comes through and request the same page, the cached HTML page will be served, as long as the page was not changed in the administration area.
So lets download the best cache plugin for WordPress websites.
Go to your WordPress Dashboard > Plugins > Add New. Type in W3 Total Cache to the search area.
Install Now and Active plugin. Now go to Performance > General Settings on the left hand menu in Dashboard.
Scroll down the General Settings Page and ensure that each main section is enabled, these are:
• Page Cache
• Database Cache
• Object Cache
• Browser Cache.
NOTE: If you are using minify, make sure to enable the option, save it and then immediately look at your WordPress site to make sure that the site looks normal. If you see problems with formatting, then it’s possible that a theme or plugin is causing issues due to the minification. You should then disable minification and not use this option with your website.
Next you will need to head over to Performance > Page Cache.
You will need to ensure you have these options selected:
• Cache front page
• Cache feeds: site, categories, tags, comments
• Cache 404 (not found pages)
• Cache requests only for yourdomain.com site address
• Don’t cache pages for logged in users
And lastly, you can make sure everything is setup correctly. To do this simply go to your website home page, Right click > View Page Source and scroll to the very bottom of the page until you see this.