The cPanel in your WordPress-optimized server uses Nginx as a powerful caching proxy in front of Apache. This means your visitors will enjoy quick page loads with less effort on your part.
As the site administrator or developer, you have access to a new suite of tools in your WordPress-optimized cPanel.
What does this cache do?
For beginners, we’ll explain a little bit about what caching is and why it is so important for a WordPress site. If you’re an experienced user, you can skip ahead to the Cache Manager features for cPanel.
WordPress uses PHP (scripting language) and MySQL (database) to generate a page equivalent to a basic static HTML page. The process of generating the page uses computing power in the server. Once the page has been created, there’s no need to generate it again unless something has changed. If nothing has changed, we can use Nginx to “cache” the complete page and store it for use later. This means the page will load faster from the cached resource.
In the section below, you will learn how you can leverage the caching resources intelligently. Nginx will be able to detect if something has changed on a page, and it will reload the changes into the cached file automatically. However, if you are making a lot of changes to the site and want to see instant results, you can read on to learn how you can suspend caching temporarily.
Cache Manager Features
Your WordPress-optimized server comes with a power Cache Manager tool you can use to intelligently manage cached resources. In the sections below, we will introduce you to some important features of the Cache Manager. Make sure to click the Save Changes button after making any changes.
Selecting a Domain
If you are managing multiple domains in your cPanel, you can simply select the one for which you want to affect cache management.
You have the option to purge the cache for a single page using the Purge URL option. Simply paste the URL of the page to purge and click the Purge button.
If you are making a high number of radical changes to the site, and you want to see changes immediately, you will want to switch your site into developer mode. This will suspend caching while you are working on the site, so you can see changes without having to repeatedly flush the cache.
If you are making a high number of radical changes to the site, and you want to see changes immediately, you will want to disable caching. This will suspend caching while you are working on the site, so you can see changes without having to repeatedly flush the cache.
Default Refresh Time
The default refresh time tells the caching service how long it should wait before checking for updates to your website.
The bypass URL setting tells the caching service which URLs should never be cached. These URLs will always be loaded directly from the server and never from the page cache. To add a new URL, click the + button. Conversely, to remove a URL use the X button.
Purge Full Cache
There may be occasions in which you want to apply changes to all domains. The Purge Full Cache button will effectively purge the cache for all domains owned by your cPanel user.