For the best WordPress performance this is the complete How to Install and Setup W3 Total Cache
- Deactivate and delete any other caching plugin you may be using. Make sure wp-content/ and wp-content/uploads/ (temporarily) has 777 permissions before proceeding, e.g.: # chmod 777 /var/www/vhosts/domain.com/httpdocs/wp-content/ using your web hosting control panel or your SSH account.
- Login as an administrator to your WordPress Admin account. Using the “Add New” menu option under the “Plugins” section of the navigation, you can either search for: w3 total cache or if you’ve downloaded the plugin already, click the “Upload” link, find the .zip file you download and then click “Install Now”. Or you can unzip and FTP upload the plugin to your plugins directory (wp-content/plugins/). In either case, when done wp-content/plugins/w3-total-cache/ should exist.
- Locate and activate the plugin on the “Plugins” page. Page caching will automatically be running in basic mode. Set the permissions of wp-content and wp-content/uploads back to 755, e.g.: # chmod 755 /var/www/vhosts/domain.com/httpdocs/wp-content/.
- Now click the “Settings” link to proceed to the “General” tab and select your caching methods for page, database and minify. In most cases, “disk enhanced” mode for page cache, “disk” mode for minify and “disk” mode for database caching are “good” settings.
- Recommended: On the “Minify Settings” tab, all of the recommended settings are preset. Use the help button to simplify discovery of your CSS and JS files and groups. Pay close attention to the method and location of your JS group embeddings. See the plugin’s FAQ for more information on usage.
- Recommended: On the “Browser Cache” tab, HTTP compression is enabled by default. Make sure to enable other options to suit your goals.
- Recommended: If you already have a content delivery network (CDN) provider, proceed to the “Content Delivery Network” tab and populate the fields and set your preferences. If you do not use the Media Library, you will need to import your images etc into the default locations. Use the Media Library Import Tool on the “Content Delivery Network” tab to perform this task. If you do not have a CDN provider, you can still improve your site’s performance using the “Self-hosted” method. On your own server, create a subdomain and matching DNS Zone record; e.g. static.domain.com and configure FTP options on the “Content Delivery Network” tab accordingly. Be sure to FTP upload the appropriate files, using the available upload buttons.
- Recommended: On the “Browser Cache” tab, HTTP compression is enabled by default. Make sure to enable other options to suit your goals.
- Optional: On the “Database Cache” tab, the recommended settings are preset. If using a shared hosting account use the “disk” method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Try object caching instead for shared hosting.
- Optional: On the “Object Cache” tab, all of the recommended settings are preset. If using a shared hosting account use the “disk” method with caution, the response time of the disk may not be fast enough, so this option is disabled by default. Test this option with and without database cache to ensure that it provides a performance increase.
- Optional: On the “User Agent Groups” tab, specify any user agents, like mobile phones if a mobile theme is used.
W3 Total Cache is from W3EDGE.
July 30, 2011 at 10:39 AM
Great plugin. WP Super Cache is a static caching plugin that generates html files that are served directly by Apache without processing comparatively heavy PHP scripts.
August 7, 2018 at 2:10 PM
I downloaded and activated the free version of W3 Total Cache. The activation process I followed did not indicate to temporarily change 777 permission.
When I set up the Minify Section, I listed all the js and css files noted in the Google Page Speed test. After 2+ weeks I still get the warning from Google PSI to take care of the render-blocking files.
Could the 777 permission have an affect on the render-blocking files? Any other sugars??