
Configure W3 Total Cache
General Settings
In the General Settings section of W3 Total Cache, make sure your settings follow this plan:Page Cache
- Page Cache: Enable
- Page Cache Method: Disk: Basic
- Click Save all settings.
Minify
- Minify: Enable
- Minify mode: Manual
- Minify cache method: Disk
- Click Save all settings.
Do not enable Database cache or Object cache.
Browser Cache
- Browser cache: Enable
- Click Save all settings.
Miscellaneous
- Select Verify rewrite rules.
- Make sure Enable file locking is not selected.
Page Cache
In the left navigation menu, click on Page Cache.General
- Select Cache front page.
- Select Cache feeds.
- Select Cache SSL requests.
- Select Cache URIs with query string variables.
- Do not select Cache 404 (not found) pages.
- Select Don’t cache pages for logged in users.
- Click Save all settings.
Cache Preload
- Select Automatically prime the page cache.
- Select an Update interval. Values here affect the time before a page is re-cached. 86400 seconds equals 24 hours, 604800 seconds equals one week, etc.
Minify
In the left navigation menu, click on Minify.General
- Select the Rewrite URL structure.
- Click Save all settings.
HTML & XML
In the HTML and XML section, select the following checkboxes:- Enable Inline CSS minification
- Inline JS minification
- Don’t minify feeds
- Click Save all settings.
Browser Cache
In the menu, click Browser Cache. Set the following options and then click Save all settings:General
Select the following checkboxes:- Set Last-Modified header.
- Set expires header.
- Set cache control header.
- Set entity tag (eTag).
- Set W3 Total Cache header.
- Enable HTTP (gzip) compression.
CSS & JS, HTML & XML, and Media & Other Files
In all three of these sections, select the following checkboxes and options:- Set Last-Modified header.
- Set expires header.
- Expires header lifetime: Specify 31536000 seconds.
- Set cache control header.
- Set entity tag (ETag).
- Set W3 Total Cache header.
- Enable HTTP (gzip) compression.
Pro Tip: Export Your Settings
You can export your settings in W3 Total Cache! This means you can import them to other sites you have to make setup quicker. In the left navigation menu under Performance, click General Settings. Scroll all the way to the bottom of the page and click Download next to Export configuration.