configuring wordpress w3 total cache

17
Configuring Wordpress W3 Total Cache

Upload: wwwpowerdigitalmarketinginccom

Post on 12-Nov-2014

2.690 views

Category:

Health & Medicine


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Configuring Wordpress W3 Total Cache

Configuring Wordpress W3 Total Cache

Page 2: Configuring Wordpress W3 Total Cache

Go to “plugins” then the “add new” subheading

Type “W3 Total Cache” in the “Search Plugins” field and press enter.

Page 3: Configuring Wordpress W3 Total Cache

Find the correct plugin and install

W3 Total Cache will install, then click activate

Page 4: Configuring Wordpress W3 Total Cache

Possible Issues• It’s possible that a warning box about wp-content needing to be 777 or 755. In

order to remedy this you must change permissions, which must be done in the cpanel of your server. Our server is bluehost, so here is an example.

Page 5: Configuring Wordpress W3 Total Cache

Open File Manager

Page 6: Configuring Wordpress W3 Total Cache

Select the Document Root for Your Site

Page 7: Configuring Wordpress W3 Total Cache

Right Click wp-content and select change permissions

Change permissions to whatever is required: either 777 or 775. If you must change to 777, then change back to 775 after install is complete.

Page 8: Configuring Wordpress W3 Total Cache

Go to the Performance menu on the sidebar admin panel

Hover over Performance and go to General Settings

Page 9: Configuring Wordpress W3 Total Cache

Once in the General Settings make sure Preview Mode is Disabled. This option will typically be at the top of the screen here.

Page 10: Configuring Wordpress W3 Total Cache

Ensure that the following boxes are checked (enabled): Page Cache, Object Cache, and Browser Cache

Do not worry about the other settings right now

Page 11: Configuring Wordpress W3 Total Cache

Go to either the sidebar admin panel or the top of the W3 page and go to Page Cache and the General section

Ensure the following options are enabled: “Cache Feeds: site, categories, tags, comments”, “Cache SSL (https) requests”, “Cache requests only for [your sitename] hostname”, and “Don’t cache pages for logged in users”

Page 12: Configuring Wordpress W3 Total Cache

Next is the Cache Preload section under General. This is for priming or preloading the most important pages.

Check the box to enable then change “Update Interval” to 900 and “Pages Per Interval” to 10. Also add your sitemap which should be, “[your sitename]/sitemap.xml”

Page 13: Configuring Wordpress W3 Total Cache

Setting the Garbage Collection Interval depends on the amount of traffic to your site. The busier the site the lower the interval. We’re going to use the default 3600

It is important to clear cache or you may run out of disk space. That’s the importance of setting this interval correctly.

Page 14: Configuring Wordpress W3 Total Cache

Now go to Browser Cache on the sidebar admin panel

Check the following options: ”, “Set Last-Modified Header”, “Set Expires Header”, “Set Cache Control Header”, “Set Entity Tag (eTag)”, “Set W3 Total Cache Header”, “Enable HTTP (gzip) Compression”, “Prevent Caching of Objects After Setting Change”

Page 15: Configuring Wordpress W3 Total Cache

Set Expires Header at the following: CSS & JS(31536000) which is a year, HTML & XML(3600) which is an hour, Media & Other Files(31536000) which is a year.

Page 16: Configuring Wordpress W3 Total Cache

Set Cache Control Header. A good default is:“cache with max-age (“max-age=EXPIRES_SECONDS, public, must-revalidate, proxy-revalidate”)

Set Cache Control Header for each of the 3 categories: CSS & JS, HTML & XML, and Media & Other Files

Page 17: Configuring Wordpress W3 Total Cache

This guide didn’t touch on every aspect of W3 Total Cache but these settings will help to greatly increase the speed of your site and pages.