Site icon Robin Heed

The Ultimate Settings for W3 Total Cache

wc3 total cache settings

Best and Epic: W3 Total Cache Settings

Installation time: 20 minutes.

No one wants a slow website. Here you got a full tutorial in what settings you need in order to succeed caching your WordPress website with W3 Total Cache. If you find any troubles with caching your website after you added these settings I recommend you to try disable all minified settings and empty all caches again.

You are welcome!

General Settings

General

Leave it as it is.

Page Cache

Page Cache: Enable
Page cache method: Disk: Enhanced

Save all settings

Minify

Minify: Enable
Minify mode: Manual
Minify cache method: Disk
HTML minifier: Default
JS minifier: JSMin (default)
CSS minifier: Default

Save all settings

Database Cache

Database Cache: Enable
Database Cache Method: Disk

Save all settings

Object Cache

Object Cache: Enable
Object Cache Method: Disk

Save all settings

Browser Cache

Browser Cache: Enable

Save all settings

CDN

CDN: Enable (if you have it)
CDN Type: What you got

Save all settings

Reverse Proxy

Leave it as it is.

Monitoring

Leave it as it is.

Licensing

Leave it as it is.

Miscellaneous

Leave it as it is.

Debug

Leave it as it is.

Import/Export Settings

Leave it as it is.

 

Page Cache

General

Cache front page: Check
Cache feeds: site, categories, tags, comments: Check
Cache requests only for www.yourdomain.com site address: Check
Don’t cache pages for logged in users: Check

Save all settings

Cache Preload

Automatically prime the page cache: Check
Update interval: 900 seconds
Pages per interval: 10
Sitemap URL: http://www.youdomain.com/sitemap_index.xml (or where you have it)

Save all settings

Purge Policy: Page Cache

Front page: Check
Post page: Check
Blog feed: Check
rss2 (default): Check
Purge Limit: 10

Save allt settings

Advanced

Leave it as it is.

 

Minify

General

Rewrite URL structure: Check

Save all settings

HTML & XML

HTML minify settings
Enable: Check
Inline CSS minification: Check
Inline JS minification
Don’t minify feeds: Check
Line break removal: Check

Save all settings

JS

JS minify settings: Check

Before </head>
Minify: Check
Non-blocking using JS

After <body>
Minify: Check
Non-blocking using JS

Before </body>
Minify: Check
Non-blocking using JS

 

JS file management: Your Theme

Save all settings

CSS

CSS minify settings
Enable: Check
Line break removal (not applied when combine only is active): Check
@import handling: Process
CSS file management: You Theme
Add CSS file (optional)

Save all settings

Advanced

Leave it as it is.

 

Database Cache

General

Don’t cache queries for logged in users: Check

Save all settings

Advanced

Leave it as it is.

 

Object Cache

Advanced

Default lifetime of cache objects: 180 seconds
Garbage collection interval: 3 600 seconds

Save all settings

 

Browser Cache

General

Set Last-Modified header: Check
Set expires header: Check
Set cache control header: Check
Set entitytag (eTag): Check
Set W3 Total Cache header: Check
Enable HTTP (gzip) compression: Check
Don’t set cookies for static files: Check

Save all settings

CSS & JS

Set Last-Modified header: Check
Set expires header: Check
Expires header lifetime: 31 536 000 seconds (like a boss)
Set cache control header: Check
Cache Control policy: cache with max-age (“public, max-age=EXPIRES_SECONDS”)
Set entity tag (Etag): Check
Set W3 Total Cache header: Check
Enable HTTP (gzip) compression: Check
Disable cookies for static files: Check

Save all settings

HTML & XML

Set Last-Modified header: Check
Set expires header: Check
Expires header lifetime: 3 600 seconds
Set cache control header: Check
Cache Control policy: cache with max-age (“public, max-age=EXPIRES_SECONDS”)
Set entity tag (Etag): Check
Set W3 Total Cache header: Check
Enable HTTP (gzip) compression: Check

Save all settings

Media & Other Files

Set Last-Modified header: Check
Set expires header: Check
Expires header lifetime: 31 536 000 seconds
Set cache control header: Check
Cache Control policy: cache with max-age (“public, max-age=EXPIRES_SECONDS”)
Set entity tag (Etag): Check
Set W3 Total Cache header: Check
Enable HTTP (gzip) compression: Check
Prevent caching of objects after settings change: Check
Disable cookies for static files: Check

Save all settings

 

Empty All Caches

 

Did you like this? Brag to your colleagues about your new skill and share it!

Exit mobile version