Do you need to set up and arrange W3 Total Cache in your WordPress web site?
W3 Total Cache is a well-liked WordPress caching plugin that helps you to enhance your web site pace and efficiency.
In this newbie’s information, we’ll present you the way to simply set up and arrange W3 Total Cache in your WordPress web site.
Editor’s Note: We don’t use W3 Total Cache on our web site anymore and have switched to WP Rocket which is a premium caching plugin. W3 Total Cache continues to be a advantageous resolution that works effectively.
What is W3 Total Cache?
Table of Contents
W3 Total Cache is among the greatest WordPress caching plugins that permits you to simply enhance WordPress efficiency and pace.
By default, WordPress makes use of PHP to dynamically generate every web page in your web site when it’s requested by a consumer.
PHP is a server-side programming language. This means every consumer request will increase the load in your server. This impacts your web site’s efficiency, consumer expertise, and web optimization.
WordPress caching plugins aid you cut back this by skipping PHP and serving a cached copy of your webpage.
It additionally permits you to simply join your web site to a CDN (content material supply community) to additional enhance your web site efficiency.
Installing W3 Total Cache in WordPress
Before you put in the W3 Total Cache plugin in WordPress, you’ll want to just be sure you deactivate some other caching plugin in your web site. This would aid you save server sources and forestall any plugin conflicts.
After that, you possibly can go forward and set up and activate the W3 Total Cache plugin. For extra particulars, see our step-by-step information on how to set up a WordPress plugin.
Upon activation, W3 Total Cache will add a brand new menu merchandise labeled ‘Performance’ to your WordPress admin sidebar. Clicking on it can launch the plugin’s setup wizard.
Simply click on on the Next button to proceed.
First, you can be requested to activate Page Cache. Click on the Test Page Cache button to proceed.
W3 Total Cache will present you completely different storage engine choices. You want to select one which saves you essentially the most time. Usually, it will likely be the ‘Disk: Enhanced’ choice for most shared internet hosting platforms.
Click on the Next button to proceed.
Now, you can be given the choice to Test Database Cache. We advocate selecting None. For most small to medium sized web sites your MySQL server shall be in a position to fetch information extra rapidly than the Database cache.
Click on the Next button to transfer on to the subsequent step.
This will deliver you to the Object Cache part. Object Caching permits W3 Total Cache to retailer database queries for dynamic pages and reuse them to enhance efficiency.
If the check end result reveals barely just a few milliseconds distinction then you possibly can select None.
Click on the subsequent button to proceed.
After that, click on on the Test Browser Cache button and then choose the ‘Enabled’ choice below the check outcomes.
This choice requests consumer’s browsers to retailer a duplicate of the net web page for a restricted time. Loading a web page from browser cache is far sooner than loading it out of your net server’s cache.
Click on the subsequent button to transfer on to the subsequent step.
Lastly, the setup wizard will ask you to allow lazy loading for photographs.
Now, WordPress comes with built-in lazy loading for photographs. However, some older browsers could not have assist for that characteristic.
After that, click on on the Next button to end the setup wizard and view W3 Total Cache dashboard.
Advanced Caching Options in W3 Total Cache
The fundamental settings would work for most web sites. However, there are a lot of superior choices that you would be able to configure to additional enhance efficiency.
Let’s check out an important ones.
The time period ‘minify’ is used to describe a technique that makes your web site file sizes smaller. It does this by eradicating white areas, strains, and pointless characters from the supply code.
Note: Minifiying JS and CSS information can doubtlessly break your web site. If you flip it on and your web site doesn’t look proper, then merely disable these choices.
Simply head over to Performance » Minify web page and scroll down to the JS part.
Check the field subsequent to ‘JS minify settings’ to allow it.
Now, scroll down to the CSS part and allow CSS minify settings the identical approach.
Don’t overlook to click on on the Save All Settings button to retailer your settings.
Enable CDN Support in W3 Total Cache
This reduces the load in your WordPress internet hosting server and improves web page load pace.
W3 Total Cache comes with built-in assist for numerous CDN platforms.
We advocate utilizing Bunny.internet which is the most effective CDN resolution in the marketplace. This is what we use for our OptinMonster web site.
First, you want to signup for a Bunny.internet account. After signup, you want to create a Pull Zone for your web site.
A pull zone provides a hostname to Bunny.internet CDN. This hostname is then used to serve static information for your web site.
Add a reputation for your pull zone and then present your web site’s area identify.
After including the pullzone, you want to go to the Performance » General Settings web page and scroll down to the CDN part.
Check the Enable field subsequent to the CDN choice and select Generic Mirror subsequent to the CDN Type choice.
Don’t overlook to click on on the Save All Changes button to retailer your settings.
Next, you want to go to the Performance » CDN web page and scroll down to the Configuration: Objects part.
From right here, you want to add the hostname you created earlier for your pullzone and click on on the check mirror button.
W3 Total Cache will test the provision of your hostname, and will present the Test Passed message when it’s profitable.
You can now click on on the Save All Changes button to retailer your settings.
W3 Total Cache will now begin serving your static sources from CDN server.
W3 Total Cache additionally works effectively with Cloudflare free CDN. Alternately, you can even use it with Sucuri which is the most effective web site firewall service with built-in CDN service.
Troubleshooting W3 Total Cache Issues
Once you might have configured W3 Total Cache correctly, it ought to work seamlessly within the background to enhance WordPress pace and enhance efficiency.
Occasionally, chances are you’ll come throughout points the place you don’t see modifications you made to your web site straight away, or a plugin is probably not working correctly.
Most frequent motive for these points is that you’re most likely seeing an previous cached model of your web site.
This might be simply fastened by clearing cache in WordPress.
Simply click on on the Performance menu on the high and then choose Purge All Caches choice. W3 Total Cache will clear all cached content material in your web site.
If you might be nonetheless seeing the previous model of your web site, then attempt clearing your browser cache too.
We hope this text helped you put in and setup W3 Total Cache in WordPress. You may additionally need to see our full WordPress safety information for inexperienced persons to strengthen your web site safety, or take a look at our comparability of the most effective GoDaddy alternate options which might be cheaper and extra dependable.