Quick answer: For most WordPress sites, WP Super Cache is the simplest free option, WP Rocket is the easiest paid option with the most done for you, and W3 Total Cache is the most configurable but also the easiest to get wrong. Comet Cache is a solid free alternative with a clear interface, and LiteSpeed Cache is the best choice if your host runs LiteSpeed Web Server. Pick one, configure it carefully, test your site thoroughly, and never run two caching plugins at once.
WordPress builds pages on the fly. Every time someone visits, PHP runs, the database is queried, the theme and plugins do their work and the page is assembled. That is flexible, but slow and heavy on the server. Caching saves a finished copy of the page and serves that instead, so most visitors get a page in a fraction of the time. Caching is one part of a wider speed plan, which we cover in our guide to WordPress speed optimization.
How WordPress caching works
There are several kinds of caching, and plugins handle different combinations.
Page caching
The plugin saves the complete HTML of each page after the first visit. Later visitors receive that file without WordPress having to run. This gives the biggest improvement for most sites.
Browser caching
The plugin sets headers telling browsers to keep static files such as images, CSS and JavaScript for a period, so returning visitors do not download them again.
Object and database caching
Results of database queries are stored in memory, using tools like Memcached or Redis, so repeated queries are faster. This helps dynamic sites, such as shops and membership sites, where many pages cannot be page cached.
Minification and combining files
Some plugins remove whitespace from CSS, JavaScript and HTML, and combine files to reduce the number of requests. This can help, but it is also where many conflicts and broken layouts come from.
CDN integration
Plugins can rewrite file URLs so static files are served from a content delivery network, closer to visitors.
The main plugins
WP Super Cache
Made by Automattic, the company behind WordPress.com, WP Super Cache is free and widely used. It generates static HTML files and serves them either through PHP or, in its fastest mode, directly through web server rewrite rules.
- Strengths: reliable, simple, free, well maintained. The recommended settings work for most sites.
- Weaknesses: focuses on page caching. Minification and browser caching need other plugins or server settings.
- Best for: small business sites and blogs that want a dependable free option.
W3 Total Cache
W3 Total Cache is free and covers almost everything: page cache, object cache, database cache, browser cache, minification and CDN integration.
- Strengths: extremely configurable, supports Memcached and other backends, strong CDN support.
- Weaknesses: the number of settings is overwhelming, and wrong settings can slow a site down or break it. Database and object caching on disk can make things worse on shared hosting.
- Best for: developers and experienced users who know which settings they need.
WP Rocket
WP Rocket is a premium plugin with an annual licence. It aims to give good results with very little setup.
- Strengths: page caching, browser caching, GZIP, lazy loading of images, minification and combining files, cache preloading, and simple CDN settings, all with sensible defaults. Clear interface and good support.
- Weaknesses: it costs money, and it does not include object caching.
- Best for: business owners who want strong results without spending time on configuration.
Comet Cache
Comet Cache, known until recently as ZenCache and before that Quick Cache, is a free plugin with a paid Pro version.
- Strengths: clear settings, reliable page caching, sensible automatic cache clearing when content changes.
- Weaknesses: fewer optimisation features in the free version.
- Best for: people who want a free option with a friendlier interface than W3 Total Cache.
LiteSpeed Cache
LiteSpeed Cache works with LiteSpeed Web Server, which some hosts use instead of Apache. Caching happens at server level, which is very efficient.
- Strengths: fast server-level caching, smart cache purging, built by the server’s makers.
- Weaknesses: only useful if your host runs LiteSpeed. It is also newer than the others.
- Best for: sites on LiteSpeed hosting.
How to choose
Ask yourself:
- What does my host already do? Many managed WordPress hosts include server-level caching and ask you not to install caching plugins. Check before adding one.
- Is my host on LiteSpeed? If so, use LiteSpeed Cache.
- How much time do I want to spend? WP Rocket or WP Super Cache need the least setup.
- Is my site very dynamic? Shops and membership sites benefit from object caching and careful exclusions.
- Do I have a developer? W3 Total Cache rewards expertise.
Setting up caching safely
Whichever plugin you choose, follow these steps:
- Back up first. Take a full backup before installing or changing caching settings.
- Use only one caching plugin. Two caching plugins will conflict.
- Turn on page caching first. Test the site, then add other features one at a time.
- Be careful with minification. Combine and minify CSS and JavaScript one step at a time, and check the site after each change. If a layout breaks or a feature stops working, undo the last change.
- Exclude dynamic pages. Cart, checkout and account pages on WooCommerce must not be cached. Most good plugins detect WooCommerce, but always check.
- Do not cache logged-in users unless you know what you are doing. Admin bars and personalised content can end up shown to other visitors.
- Clear the cache after changes. After updating your theme, plugins or important content, clear the cache so visitors see the latest version.
Testing the results
Measure before and after. Use tools such as Google PageSpeed Insights, GTmetrix or WebPageTest, and test several pages, not just the homepage. Look at:
- Time to first byte, which page caching should reduce noticeably.
- Total load time and page size.
- Number of requests.
Then test the site as a visitor: browse, submit forms, add to cart, log in and out. Caching problems often show up as forms that fail, prices that do not update or logged-in content appearing for the wrong person.
Caching is not the whole answer
Caching makes a fast site faster and a slow site more bearable, but it does not fix everything. Heavy images, too many plugins, a bloated theme and slow hosting still need attention. Running a current PHP version helps too: moving to PHP 7 gives many WordPress sites a large speed boost, as we explained in our article on PHP 7 performance. A content delivery network, such as Cloudflare, can add another layer of speed.
FAQ
Can a caching plugin break my site?
It can, mostly through minification or caching pages that should not be cached. Change one setting at a time and test.
Do I need a caching plugin with managed WordPress hosting?
Often not. Many managed hosts cache at server level and do not allow caching plugins. Check your host’s guidance.
Which caching plugin is fastest?
On LiteSpeed servers, LiteSpeed Cache. On Apache or NGINX, WP Super Cache, W3 Total Cache and WP Rocket all produce fast results when set up correctly.
Get a faster site
Caching is one of the quickest wins for WordPress speed, and faster pages keep more visitors on your site. If you want help choosing and configuring caching as part of a full speed review, see how we help businesses turn visitors into customers.