Installing and configuring the W3 Total Cache plugin on WordPress
You can install W3 Total Cache to speed up your WordPress site in two ways. W3 Total Cache cuts down on the amount of time needed to generate frequently visited pages on your site. It also implements common best practices like JavaScript and CSS optimization to speed up the time it takes to download your site to a Web browser.
This process takes about 10-15 minutes, and can make your WordPress site feel much snappier.
To Install the W3 Total Cache Plugin on WordPress
- Sign in to WordPress.
- On the left-side menu, select Plugins > Add New.
- In the Search plugins box, enter W3 Total Cache.
- Next to W3 Total Cache, select Install Now to install the plugin.
- Select Activate to activate the plugin.
To Configure the W3 Total Cache Plugin on WordPress
- On the left-side menu, select Performance > General Settings.
- In the Page Cache area, select Enable.
- From the Page Cache Method list, select Disk: Enhanced.
- In the Minify area, select Enable.
- For the Minify mode select Auto.
- From the HTML minifier list, select Minify (default).
- From the JS minifier list, select JSMin (default).
- From the CSS minifier list, select Minify (default).
- In the Database Cache area, select Enable.
- From the Database Cache Method list, select Disk.
- In the Object Cache area, select Enable.
- From the Object Cache Method list, select Disk.
- In the Browser Cache area, select Enable.
- In the Miscellaneous area, select Optimize disk enhanced page and minify caching for NFS.
- Select Save all settings.
Troubleshooting the W3 Total Cache Plugin on WordPress
First, clear your cache by selecting Performance, and then empty all caches. You should also visit your site in a different browser because by default, W3 Total Cache does not show cached content for logged in users.
If your site is still having problems, it might be a conflict between W3 Total Cache and another plugin or your theme. To identify which one, follow these steps:
- Deactivate all plugins except W3 Total Cache.
- Select Performance, and then empty all caches to clear your cache.
- Check your site in a different browser.
- Enable each plugin, one-by-one, and clear your cache after you activate each plugin until you find which one is the problem.
- You can optionally temporarily switch to one of the WordPress default themes to see if any custom code in your theme interferes with caching.
If you have identified a conflict between W3 Total Cache and another plugin, you need to decide to activate only one of these on your site. You can contact the plugin authors about a potential solution.
If you still cannot get your site to work, you should submit a bug submission form by selecting the Performance tab, and then selecting Support to submit the form for free support and troubleshooting. Then deactivate W3 Total cache temporarily until your support request is handled.
If your site is giving a 500 error and you cannot log in, you need to log in via FTP or via the FTP File Manager and edit your .htaccess file. You should remove all code sections that look like this:
# BEGIN W3TC [section name here]
[code here]
# END W3TC [section name here]