Speed & performance · Guide
How to Install W3 Total Cache Plugin (Step by Step)

Short answer
To install W3 Total Cache, go to Plugins > Add New Plugin, search for W3 Total Cache, click Install Now on the BoldGrid plugin and then Activate. Run the setup guide it offers, enable page cache and browser cache first, then test your site before turning on minify or object cache.
Key takeaways
- Remove any other page cache plugin and take a backup before installing.
- Install from Plugins > Add New Plugin and look for the Performance menu afterwards.
- Run the setup guide so the plugin tests which cache storage suits your server.
- Start with page cache and browser cache, and add minify only after testing.
- If the site breaks, rename the plugin folder and remove leftover drop-in files.
What is W3 Total Cache and should you install it?
W3 Total Cache is a free WordPress caching plugin from BoldGrid that speeds up sites with page caching, browser caching, minification, object caching and CDN support.
It is one of the oldest and most configurable cache plugins on the W3 Total Cache plugin page. That flexibility is its strength and its main risk, because a wrong combination of settings can break layouts.
Install it if you want fine control and are comfortable testing changes. If your host already runs server-level caching, check first, since stacking two page caches often causes more problems than it solves.
For background on what each feature does, read our explainer on what W3 Total Cache is.
What should you check before installing it?
Before installing, take a backup, remove any other page cache plugin, and check whether your host already provides caching.
Running W3 Total Cache next to WP Rocket, WP Super Cache or LiteSpeed Cache is a common cause of blank pages and stale content. Deactivate and delete the old plugin first, then clear its cache files.
Some managed hosts block or discourage W3 Total Cache because they cache pages at the server. Check your host's documentation or support pages before you start.
If your server runs LiteSpeed, read whether a cache plugin helps on LiteSpeed hosting first. The LiteSpeed Cache plugin is usually the better fit there.
On a busy site, test on a staging copy. Our guide on setting up a staging site shows how.
How do you install W3 Total Cache from the dashboard?
Go to Plugins > Add New Plugin, search for W3 Total Cache, click Install Now on the plugin by BoldGrid, then click Activate.
- Log in to your WordPress dashboard as an administrator
- Go to Plugins > Add New Plugin
- Type W3 Total Cache into the search box
- Find the plugin by BoldGrid and click Install Now
- Click Activate when the button changes
After activation, a new Performance menu appears in the dashboard sidebar. The plugin also adds a Performance item to the admin bar at the top of the screen.
If you cannot install plugins, you may be on a WordPress.com plan without plugin support, or your user role may not be Administrator.
How do you install it manually with a ZIP file?
Download the ZIP from WordPress.org, then upload it at Plugins > Add New Plugin > Upload Plugin, or extract it into wp-content/plugins over FTP and activate it.
The manual route is useful when the dashboard search is blocked or you need a specific version. Download only from the official plugin page, never from a third-party site.
- Download the plugin ZIP from WordPress.org
- Go to Plugins > Add New Plugin and click Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
If the upload fails because of a file size limit, extract the ZIP on your computer and upload the w3-total-cache folder to wp-content/plugins with an FTP client. Then activate it from the Plugins screen.
What does the W3 Total Cache setup guide do?
After activation, W3 Total Cache offers a setup guide that tests your server and recommends page cache, database cache, object cache, browser cache and lazy-loading options.
The guide runs short speed tests with each storage method the server supports, such as Disk: Basic, Disk: Enhanced, Redis or Memcached. It then shows which one gave the best result.
Accept the recommendations unless you have a reason not to. You can find the guide again later under Performance > Setup Guide if you skip it the first time.
The guide is the safest way for beginners to start, because it only turns on features with a tested benefit on your server.
Which settings should you turn on first?
Start with page cache and browser cache, test the site, then add minification, database or object cache one at a time.
All the main switches live on Performance > General Settings. Each feature has its own tick box and a storage method, and each has a detailed settings page in the Performance menu.
| Feature | What it does | Suggested start |
|---|---|---|
| Page Cache | Saves full HTML pages so PHP and the database do less work | On, Disk: Enhanced on shared hosting |
| Browser Cache | Sends headers that let browsers reuse files | On |
| Minify | Shrinks and combines CSS and JavaScript | Off at first, test carefully |
| Database Cache | Stores query results | Off on shared hosting with disk storage |
| Object Cache | Stores PHP objects between requests | On only with Redis or Memcached |
| Lazy Load | Delays offscreen images | On, unless your theme already does it |
| CDN | Serves static files from a content delivery network | Only if you use a CDN |
Database and object caching to disk can slow a site down on shared hosting, because the disk is often slower than the database. These features shine with Redis or Memcached, covered in our guide to Redis object cache in WordPress.
How does browser caching work in W3 Total Cache?
Browser cache adds expiry and cache-control headers so returning visitors load images, CSS and scripts from their own device instead of downloading them again.
The default settings are fine for most sites. They also include gzip compression, which shrinks text files before sending them.
MDN's guide to HTTP caching explains how these headers work.
Our guide on enabling gzip or Brotli compression covers the compression side in more depth.
On Nginx servers, W3 Total Cache writes rules to a separate nginx.conf file that your host must include. Apache servers read the rules from .htaccess automatically.
Is minification safe to enable?
Minification can break layouts or scripts, so turn it on only after page caching works, then test every key page.
W3 Total Cache can minify HTML, CSS and JavaScript, and can combine files. Combining JavaScript is the setting most likely to break menus, sliders and forms.
If something breaks after enabling it, turn off JavaScript minify first. Then add the problem script to the exclusion list or leave JavaScript minify off entirely.
Many sites get most of the speed benefit from page cache and browser cache alone, so skipping minify is a reasonable choice.
How do you test that caching works?
Open your site in a private browser window, view the page source and look for the W3 Total Cache comment at the bottom, then compare speed before and after.
When page caching is active, the plugin adds an HTML comment near the end of the source code describing what was served from cache. Logged-in administrators usually do not see cached pages, which is why a private window matters.
Run a speed test on PageSpeed Insights before and after. Look at server response time and Largest Contentful Paint, not only the overall score.
Click through your main pages, menus, forms and checkout. If anything looks wrong, the most recent setting you changed is the likely cause. Our guide on passing Core Web Vitals in WordPress helps with deeper tuning.
How do you clear the W3 Total Cache?
Use Performance > Purge All Caches in the admin bar, or the empty cache buttons on each settings page, after changing themes, plugins or design settings.
W3 Total Cache clears the cache for a post automatically when you update it. Site-wide changes, such as a new menu or theme setting, need a manual purge.
If visitors still see old content after a purge, there may be another cache layer, such as your host or a CDN. Our guide on clearing cache in WordPress covers each layer.
What if W3 Total Cache breaks your site?
If the site breaks, turn off the last feature you enabled, purge all caches, and if the dashboard is unreachable, rename the plugin folder over FTP.
Renaming wp-content/plugins/w3-total-cache disables the plugin. Then check wp-content for the advanced-cache.php, db.php and object-cache.php drop-in files, which W3 Total Cache may leave behind, and remove them if the site still fails.
Also remove the W3 Total Cache block from .htaccess if pages redirect oddly. The rules sit between clearly marked comment lines.
If the cause is not clear, our guide on fixing a plugin conflict shows how to isolate it. For the WordPress side of caching, the official cache page in the Advanced Administration handbook gives useful background.
Frequently asked questions
Is W3 Total Cache free?
Yes. The core plugin is free on WordPress.org and includes page, browser, database and object caching, minify and CDN support. A paid Pro version adds extras such as fragment caching and more advanced CDN options.
Can I use W3 Total Cache with another cache plugin?
You should not run two page cache plugins together. They compete for the same cache files and server rules, which often causes blank pages, stale content or redirect problems. Keep one and delete the other.
Which page cache method should I choose?
On shared hosting, Disk: Enhanced is usually the fastest option because it lets the web server serve cached files directly. On servers with Redis or Memcached, the setup guide may recommend those instead.
Why can't I see the cached version of my site?
Logged-in administrators usually bypass the page cache. Open the site in a private browser window while logged out, then view the page source to look for the W3 Total Cache comment near the bottom.
How do I fully remove W3 Total Cache?
Deactivate and delete it from the Plugins screen. If problems remain, check wp-content for leftover advanced-cache.php, db.php or object-cache.php files and remove the plugin's rules from your htaccess file.
Sources
- W3 Total Cache WordPress.org Plugins
- HTTP caching MDN Web Docs
- Cache WordPress Advanced Administration Handbook
- PageSpeed Insights Google
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


