Website performance is critical to a successful website. Page loading time affects both user loyalty and whether your website obtains a higher search engine ranking. Before activating and configuring W3 Total Cache on your website, we strongly recommend that you test your website performance using Pingdom Tools or Google’s PageSpeed Insight. After configuring W3 Total Cache, you can check your website’s performance again and compare it with the earlier results.
Here are some reasons why you should consider optimizing the performance of your website:
- Decreases page loading time. You can thus provide your visitors with a more convenient experience.
- Increases search engine ranking.
- Decreases the load on your hosting server.
- Getting Started
- Configuring Page Caching
- Configuring Content Delivery Network (CDN)
- Known Issues With W3 Total Cache
- Getting Help
Please ensure that you complete your website design and have your website translated to your desired languages before activating and configuring W3 Total Cache.
Then, install and activate:
- The W3 Total Cache plugin
- WPML core plugin and WPML String Translation add-on
If you’re new to WPML, you can check out our Getting Started Guide. It quickly walks you through all the translation options you can use.
One of these options is Translate Everything – the quickest way to translate and the easiest way to keep your content up to date. This feature automatically translates pages, posts, custom post types, custom fields, taxonomies, WooCommerce products, and more as you add and edit content.
Caching plays a major role in boosting the performance of your website, as it reduces server load and the bandwidth used to load the page. This is accomplished by temporarily storing content from previous requests to serve subsequent requests. To enable page caching using W3 Total Cache, follow these steps:
- From your WordPress dashboard, navigate to Performance → General Settings and find the Page Cache section. Enable the Page Cache option and, for the Page Cache Method, select Disk: Enhanced. Then click on the Save all settings button.
- To tweak the page caching behavior, navigate to Performance → Page Cache. You can see that the page is divided into five main sections.
In the General section, we recommend using the settings shown in the below screenshot. Once you have applied these settings, click on the Save all settings button.
In the Aliases, Cache Preload, and Purge Policy: Page Cache and Advanced sections, we recommend retaining the default settings.
To enable CSS and JS minification using W3 Total Cache, follow these steps:
- From your WordPress dashboard, navigate to Performance → General Settings, and find the Minify section. Enable the Minify option, and then set the Minify mode to Auto and the Minify Cache Method to Memcached. Click on the Save all settings button.
- To tweak the minification settings, navigate to Performance → Minify. You can see that the page is divided into five main sections. We recommend that you retain the default settings in the General section. Simply click on the Save all settings button.
Similarly, in the HTML & XML section, we recommend that you retain the default settings.
In the JS section, enable the JS minify settings and choose the Combine only option. Click on the Save all settings button.
In the CSS section, check the following three options:
- Preserved comment removal (not applied when combine only is active)
- Line break removal (not applied when combine only is active)
Click on the Save all settings button.
We recommend that you retain the default settings in Advanced. You should now receive notification messages from W3 Total Cache to empty the cache. Click on the Empty the page cache and Empty the minify cache buttons.
A content delivery network (CDN) is a network of servers distributed in different locations to deliver the content of your website to your users based on their location. Configuring and running a CDN on your website reduces page loading time and thus enhances your website performance. Specifically, a CDN stores a cached version of your website’s static content in different geographical locations such that the nearest server for each user fulfils his or her requests, thereby reducing page loading time.
Note that W3 Total Cache does not provide a CDN service. If you wish to set up and run a CDN on your website, you must obtain it from a CDN service provider.
To configure the CDN using W3 Total Cache, follow these steps:
- Navigate to Performance → CDN. In the General section, we recommend that you retain all default settings. Click on the Save all settings button.
If you see the notification message that follows, click on the unsuccessful transfer queue button and process the remaining queue.
- In the configuration section, fill in your CDN details. Please choose the Enabled (always use ssl) option for SSL support. Click Save all settings.
We recommend that you retain the default settings in the Advanced section.
WPML works fine with this plugin, but sometimes there could be minor issues we're working on. This is expected as both plugins provide frequent updates.
In case you need help using W3 Total Cache with WPML, visit WPML’s support forum.