We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.
Contact Us
Contact Us
Sign in
Sign in
Nexcess Logo

Setup & Settings for the W3 Total Cache Plugin

September 07, 2022


W3 Total Cache Plugin Setup & Settings


What is the W3 Total Cache Plugin Used For?

WordPress Admins implement the W3 Total Cache plugin to improve SEO, Core Web Vitals, and overall user experience in terms of performance by reducing load times by leveraging features that include a Content Delivery Network (CDN) integration and caching every layer of your website.

How Good is the W3 Total Cache Plugin?

The W3 Total Cache plugin for WordPress is one of the fastest free WordPress performance optimization plugins available. It is full of advanced features to improve your site's user experience by improving server performance, caching every layer of your website, reducing download times, integrating with your CDN.

Suffering from a Slow Website?


We have all seen how slow websites can be, taking a couple of minutes to load one thing. Well, if you don't want your website to be slow and dragging, why not look into W3 Total Cache plugin to speed up loading times for visitors to you your website?

With over a million active installations, W3 Total Cache is one of the most popular caching and optimization plugins in the WordPress repository. With its simple and streamlined interface, W3 Total Cache gives you complete control over WordPress sites caching configuration.

With there being 15+ options just in the general settings alone, it can be confusing and scary to configure independently if you are new to using the W3 Total Cache plugin for the first time. That's why we are going to go over what we think are the best W3 Total Cache settings and configurations for you to start today.


Overview of the W3 Total Cache Plugin


Okay, let's start from the beginning. There are a lot of plugins for WordPress sites. but the W3 Total Cache plugin should be one of the first ones you add to your site as it is made for optimization and performance. It's essential to consider.

Installation of the W3 Total Cache is effortless in that all you have to do is go to your plugins page in the WordPress dashboard and click the “Install Now” button for the W3 Total Cache plugin.

The base version of W3 is completely free, but there is also a pro version that is a little bit on the expensive side at $99/year. With the pro version, you get a few more additional features like REST, API caching, Google Maps caching, and more, but for this article, we will be covering the base free version of the W3 Total Cache plugin.

After the installation has finished, you will see the new tab called “Performance” in your WordPress Admin toolbar. Clicking on it reveals a variety of submenus like “Page Cache”, "General Settings", “Minify”, and more. You can also access W3 Total Cache using only the “Performance” tab.

Before we get into the settings and best configurations, let's quickly mention how you clear or purge your cache. After you hover over the “Performance” tab, you can see “Purge All Caches” where you can clear all your caches. Or, below that option, you can choose individual caches to purge at your will.

Get Faster!


About the W3 Total Cache Settings & Optimal Setup


Let's start simple with the “General Settings” option provided by the W3 Total Cache plugin. Here you can find preview mode, which should be turned on, as it is always a good idea to double-check your work before deployment.

Second, let's look into the heart of the plugin, the “Page cache”. Fortunately for us, it's easy to set up. You can check the "Enable" box and choose “Disk: Enhanced”. This is not as necessary if you have a news or blog site as they don't require dynamic content.

Third, let's talk about “Minify”. Minification can sometimes break your site, so take the following steps with caution. Minify is used on any WordPress site to minimize the amount of white space on the site. The best setting that is most secure and without risk is “Auto”.

Enable "Minify" and choose “Auto” minify mode. For “Minify Cache Method”, select “Disk” and everything else leave on “Default”. Always make sure to preview the work before deploying it to be sure it is working as intended.

Fourth, the database cache stores the results of MySQL database queries. Unfortunately, this can and probably will work against you, as the feature CPU usage by a lot, so we recommend you leave it disabled.

Fifth, the object cache has the same problem of being more of a burden than a blessing as it draws heavily on server resources, so let's leave it off for most of the shared hosting plans.

Sixth, the browser cache saves a local copy of the page and reduces the calls to your website, which decreases the load. It also stores static assets like CSS, JavaScript (JS), images, and fonts locally. You should always have this enabled.

Seventh, the CDN is the “Content Delivery Network”. If you are using CDN to offload static files to data centers worldwide, you can configure W3 Total cache to rewrite URLs for theme files, media library attachments, CSS, JS, and much more with your CDN hostname.

Eight, the “Reverse Proxy'' sits between your web server and WordPress and can be used to perform various logic-based manipulations on incoming requests. W3 Total Cache supports Varnish, which is a popular “HTTP Accelerator” for caching and serving data with the goal of reducing backend load.

Ninth, the “User Experience” setting is vital because of the lazy loading setting, which speeds up page loads. We recommend using this setting if you are not already using browser-native or plugin-based lazy loading.

Tenth, the “Miscellaneous” tab has a few settings that you can enable and configure but are unnecessary. For example, if you want to display a Google Page Speed dashboard widget in WordPress, you need to input your Page Speed API key. Enabling it is optional, as you can always test pages manually. Leave everything else on default.

Eleventh, last but not least is “Debug”. Suppose you are working on an issue with your website. In that case, W3 Total Cache has a really handy debug menu that lets you disable one or more specific caching layers and optimization settings. For example, if you notice a visual glitch on your site, you can enable debug mode for “Minify” option, which will insert HTML comments into your page's source code to help you troubleshoot.

Consider Managed Hosting with Nexcess


You can play around with many more options and figure out what works for you. But we think the recommendation in this article are the optimal settings to increase your website's performance.

While you are still here, consider Nexcess as your service provider. Nexcess offers you multiple plans for your WordPress site or sites, the lowest prices with the first month free of charge. Additionally, the Nexcess support team is always available to help you with anything you need.


Plugin Performance Monitor — Test Your WordPress Plugins Automatically


Don’t let changes to your website slow you down. The Nexcess Plugin Performance Monitor watches your site hourly, so you don’t just see the problem - you know how to fix it.


Why Choose Nexcess?


Because we are different! Chris Lema captures "the why" in his passionate and stirring recount of a Nexcess support-related story.


Why Your Hosting Provider Matters


We’ve optimized hosting for the industry’s leading commerce and content platforms. That means speed, security, scalability and support are built in. Backed by free migrations and 30-day money-back guarantee, let us show you why we’re the best.

No one optimizes hosting for open-source applications better than Nexcess!



Recent Articles

Related Articles

Miles Zimmer
Miles Zimmer


Miles is a Technical Staff Member on the Abuse Prevention Team at Liquid Web and Nexcess. Some of the technical subject areas that he is passionate about include spam, malware infections, network attacks, symlink hacks, and many more that challenge him.

Before joining the Abuse Prevention Team as a Technician, Miles worked on the
Operations Command Center Team, where he learned how to quickly resolve issues with Apache, MySQL, PHP, and other applications within the many technical layers that make up our application/technology stack.

In his free time, Miles is a semi-professional Tekken Player that loves TV shows and tabletop games. If he is not in front of the PC working, writing, or winning tournaments, you can find him walking in a forest or some park with his girlfriend.