Want to know on “How To Setup W3 Total Cache” Plugin?
So Why is W3 Total Cache the greatest and one of best Caching plugin to speed up your WordPress Blog? Because it is a awesome caching plugin Hands down. Now let us look at on, how to setup w3 total cache and of course Wp-Super Cache is great as well. W3Tc plugin can and will improve your website’s speed dramatically, but lots of users that download and install this plugin they do not know how to set it up the right way and end up uninstalling it and never use it. We will demonstrate what is the best way to setup W3 Total Caching plugin on a shared hosting plan which is what most people use and the safest way not to crash your website. To add a note did you know that W3 total cache is made by one of the CEO from Mashable?
- Setting up Page and Browser Cache Settings, easy method no errors and fast Loading times
- Minification settings, advanced technical Themes might not support this settings.
- CDN Content Delivery off loading our CSS & Java Script Files to the clouds
- Recommend not using Database or Object Caching on Shared Hosting
- Extra Tweaks to make W3TC perform even Better With SSL HTTPS Certificate if used.
Page Cache General
For many blogs this is your most visited page, it is recommended that you cache it.
Even if using a feed proxy service, enabling this option is still recommended.
- Turn this on if you use SSL Certificate on your site:
Cache SSL requests (uniquely) for improved performance.
Search result (and similar) pages will be cached if enabled. Usually this is Off by default or Greyed out, we leave query string caching off
- Leaving this off is best option specially because of SEO:
Reduce server load by caching 404 pages. If the disk enhanced method of disk caching is used, 404 pages will be returned with a 200 response code. Use at your own risk.
Cache only requests with the same URL as the site’s.
Unauthenticated users may view a cached version of the last authenticated user’s view of a given page. Disabling this option is not recommended.
Select user roles that should not receive cached pages: Check mark everyone except Subscribers.
- Automatically prime the page cache
- Sitemap URL: give only the url for your site map after your domain name like /sitemap_index.xml for example that is Yoast plugins sitemap.
- Preload the post cache upon publish events. You want to refresh the cache when you post a new article or page, it helps to get Google’s Bot come right back to your site for Quick SEO and article inclusion to search engines.
- Purge Policy: Page Cache Leaving this as Default works just great.
- Late initialization: Leave this off this setting is usually greyed out or off by Default anyways.
- Compatibility mode: Decreases performance by ~20% at scale in exchange for increasing interoperability with more hosting environments and WordPress idiosyncrasies. This option should be enabled for most sites. Turning this on Can Help in certain situations and with different hosting company’s you can turn it on and run a Speed test on your site to see if it helps generate cache faster or any performance gains by using Compatibility mode.
- Disable UTF-8 blog charset support
Resolve issues incorrect odd character encoding that may appear in cached pages. Leaving it off is best W3tc setting
- Disable caching of HEAD HTTP requests
If disabled, HEAD requests can often be cached resulting in “empty pages” being returned for subsequent requests for a URL.
- garbage collection for a medium site with couple thousand or less traffic leave default numbers will work well.
W3 Total Cache settings for Advanced Manual Minify Settings.
- Rewrite URL structure (If disabled, CSS and JS embeddings will use GET variables instead of “fancy” links.) Make sure this is CHECKED.
- Disable minify for logged in users (Authenticated users will not receive minified pages if this option is enabled.) Make Sure This is checked you want un minified pages when you work on your website.
For HTML & XML
- Check on enable, inline CSS minification, inline JS minification and line break removal.
- Check enable, preserved comment removal and line break removal. Preview your Site for any errors, we must check this to see if something is broken in our layouts i recommend Clearing all Cache or Empty at least page cache to get freshest results.
There is one more setting which is the Content Delivery Network
If you have Amazon s3, Cloudfront or Cloudflare you can add your credentials and use that option. CDN will boost your speed the most, you can read up on how to setup CDN for your site (here).
How ever we show you here what settings you will need to make your WordPress blog Fly like a rocket with CDN!
First thing first Choose your CDN provider on the General Settings Page, the preferred method is Pull/Origin and not Push.
Head over to the CDN Settings Page and these Steps are very important because you don’t want to serve logged in information to your visitors, as well these settings are the most optimal way to make your site fly and safe!
Check The following on CDN settings TAB also we included pictures for you guys to explain how to configure CDN with W3TC plugin.
If checked, all attachments will be hosted with the CDN.
If checked, WordPress static core file types specified in the “wp-includes file types to upload” field below will be hosted with the CDN.
If checked, all theme file types specified in the “theme file types to upload” field below will be hosted with the CDN.
If checked, minified CSS and JS files will be hosted with the CDN.
If checked, any file names or paths specified in the “custom file list” field below will be hosted with the CDN. Supports regular expressions
- What Ever you do DO NOT CHECK THESE, it will mess up your permalinks to your images and a lot more problems so pretty please leave,
Download attachments hosted elsewhere into your media library and deliver them via CDN OFF
- Access key ID: Enter your login credentials
- Secret Key: enter your password given by your CDN company
- Origin SSL you can create a new one but if you have already configured your CDN you can use a CNAME please read on how to set up CDN previously mentioned. This settings should be self explanatory
- Test your Distribution to see if CDN is reachable a Green TEST Success should be shown
- Disable CDN on SSL pages
When SSL pages are returned no CDN URLs will appear in HTML pages. you can leave this settings off or on because most CDN Companys Now support both HTTP or HTTPS at same cost no extra bandwidth charges apply! Turn this on specially if you use your site HTTPS SSL certificate
- Disable CDN for the following roles
Select user roles that will use the origin server exclusively: Administrator Editor Author Contributor Subscriber Leave Subscriber unchecked
- Set cookie domain to “spazlport.com”
If using subdomain for CDN functionality, this setting helps prevent new users from sending cookies in requests to the CDN sub-domain yes this setting is important because we do not like to send cookie requests to our sub-domain CDN ex. cdn1.yourdomain.com
These are the configuration settings you need for a good and quality running CDN setup for WordPress, here are the Images to demonstrate the settings.
By any chance you don’t have a CDN Service Provider, we recommend you to sign up for one it is only 9$/Month and you can use 2-3 websites, here is our 20% off Promotion Offer so you get a discount by using this promo link yes its a affiliate link however it is a win->win->win situation MaxCDN We try to help fellow WordPress Folks as much as we can.
Alright then here are the steps it is actually really easy since Godaddy offers now Op-caching for their shared hosting services in other words we don’t have to use Disk enhanced settings anymore and it really speed up all my friends sites who host they WordPress with Danica Patrick.
Once you installed the W3TC plugin go to the General Tab and use the following settings to unleash opcode or APC caching which is memory caching rather then disk and it will pre-compile the PHP code from WordPress, i promise you will see a huge improvement for speed load times. All these APC settings are just under Disk Enhanced by the Dedicated/Virtual servers, no worry’s it is available to use with go-daddy. It is worth noting that the guide godaddy has on their forum on how to setup W3 Total Cache was written by a blogger and not their technical guys and is really outdated you can read it here.
- Page Cache Settings – Set page caching method to Opcode: alternative php cache (APC)
- Minify settings: if you are going to use this setting also use opcode: APC caching, how ever that’s more of a trial error and usually never works right i recommend a stand alone plugin for Minify options.
- Database Caching: leave this Option Off the purpose of this plugin is that it creates static HTML pages and it rarely has to even communicate with MySQL database whatsoever.
- Object Caching: Set this immediately to Opcode: Alternative Php Cache (APC) to get some juicy caching and speed for our site and click enable just like on all the others.
- Browser cache: Check mark this if it is not already but when you install W3 Total Caching Plugin it comes turned on standard.
All in all this are the basic settings you really need, if you just do this steps i showed you Godaddy hosting user friends and empty out all cache log out or use a different browser to you site and check your sites speed, you will see a huge improvement right away, then you always can go to Gmetrix or some other speed test sites and see that Opcode Caching even tough on shared hosting it is much faster then your slow Disk:enhanced settings because you use memory instead of a hard drive.
This little one option setting is located in Page Cache Settings TAB. Turn this on if you have HTTPS WordPress setup it will improve your loading speeds dramatically it worked very well for us on 10 ssl websites.
Cache SSL (https) requests: Cache SSL requests (uniquely) for improved performance.
Bottom line is make sure Object Cache and Database cache is off, only turn on Object cache if you have over 10,000 posts on your site. Use Disk (Enhanced) settings, how ever you should make sure with your hosting provider if they support basic or Disk enhanced or some other caching they could enable for you like APC.
So speak your mind’s express opinions on How To Setup W3 Total cache Plugin? On this famous CMS (content management system) WordPress for our shared hosting article. Let me know if i missed anything or have any question regarding this performance tricks with w3tc caching plugin for high Google page speed which is important for SEO now days on our major search engine’s.