Improve Your WordPress Performance With W3 Total Cache

If there is any plugin that can improve the performance of any WordPress blog by a great deal, it has to be W3 Total Cache. This is a well-designed cache plugin used by many popular sites, as well as this Make Tech Easier blog.

Why the need for a cache plugin?

Whenever you load a page on a WP site, the server has to first query the database for the relevant content, then format the content into html format before sending to the browser for you to see. This is fine if your site only have 10 or 20 visitors per day. However, if you are receiving ten of thousands of readers every day, your CPU workload will also increase exponentially, and eventually crashed. This is also why plenty of sites went down when their post reaches the front page of Digg (aka the Digg effect).

What a cache plugin does is to store the dynamically generated page in a static html format. Whenever a visitor visits your site, the static page is served to the visitors instead of fetching it from the database. In this case, it will relief the workload of your CPU.

W3 Total Cache: An all in one caching solution

W3TC is more than just a cache plugin. It is in fact a combination of various features to optimize your site.

There are 4 main aspect of W3 Total cache

  • Page caching
  • Database caching
  • Minify scripts
  • Content Delivery Network

Page Caching

This is the part where a static html version of your site is generated and shown to your visitors whenever they visit your site.

w3tc-page-caching

In the Settings, you can determine whether to cache pages for logged in users and the homepage. You can also configure the lifetime of the cache and the user agents of the browser. If you are using a mobile theme, you may want to add the mobile device’s user agent to the list so that the mobile theme (instead of the cached page) will be shown on the mobile devices.

Minify Your Script

Minifying your CSS and javascript is a great way to reduce the file size of your web page, which in turn reduces the loading time of your site. In the Settings page, you can configure W3TC to minify your HTML code, Javascript and CSS.

w3tc-minify-setting

Database caching

To reduce the number of database query, W3TC caches the database query and keep it active for a period of time. During this period of time, all database queries will be loaded from the database cache, thus reducing the number of time the server has to go to the database to fetch the items. When the expiry time is reached, the plugin will re-cache the database queries.

w3tc-database-caching

Content Delivery Network

Unless you are seeing a lot of traffic, chances are, you won’t need to use a CDN. What a CDN does is to load your content (such as images, css, javascript files) from an external server closest to the visitor’s geographical location so as to achieve a faster loading of your content as well as reducing your server’s bandwidth.

w3tc-cdn

W3TC works with several CDN company, including Amazon CloudFront, S3 and even your own FTP account. You can choose to load your wp-includes/files, active theme files and even minified CSS and JS files from your CDN. There are also options for you to configure which file types get uploaded to your CDN.

Checking out the performance of W3TC

Once you have installed and configured the plugin, you can log out of your dashboard and go to your site. Right click on the browser and select “View Source“. Scroll down to the bottom and you will see the W3TC message. This will give you a good idea of how fast your site is loading.

w3tc-performance

Alternatively, you can also carry out website speed test before and after you have implemented the plugin to see the differences.

Let us know in the comments if the W3TC plugin works well for you.

Image credit: gibb626

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Damien Oh Avatar

Read next

Content and cloud networks now account for three-quarters of used international bandwidth, while Google, Meta, Microsoft and Amazon own, co-own or buy capacity on a growing share of the 600-plus submarine cable systems carrying over 99 per cent of data between countries, a private map hidden below the wireless internet
Wi-Fi doesn’t actually slow down when a café gets crowded — the signal is fine, but every device has to wait its turn to speak on the same frequency, and the polite queuing is what you feel as lag
In 1988, a 23-year-old Cornell graduate student named Robert Morris released a self-replicating program to measure the size of the internet — within hours it had crashed roughly 6,000 of the 60,000 machines then online, and computer security became a field
In July 2026, Psy’s Gangnam Style passed six billion YouTube views, fourteen years after its horse-riding dance became the platform’s first billion-view video and long after engineers had replaced a counter designed to stop at 2,147,483,647
Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark