WP Rocket Review & Tutorial 2021 Your One-Stop-Shop Caching Plugin for WordPress

Wp Rocket Review Logo

Our verdict

4.5/5

WP Rocket is an easy to use, highly effective premium caching plugin for WordPress. It’s ideal if you are looking for a one-stop-shop for site speed optimization.

The WP Rocket plugin is viewed by many people as a “best in class” caching solution for WordPress sites.

In this review we look at how well it performs in real life and whether or not it’s worth the annual fee.

Let’s get to it.

Before WP Rocket:

Performance Report Before Wp Rocket

After WP Rocket:

Performance Report After Wp Rocket

As you can see we’ve shaved almost 2 seconds off the load time, which equates to a 54% improvement.

Plus, the site now generates 21 fewer HTTP requests than before.

There’s been a small increase in the YSlow score, but we could give that a 10% boost by installing Autoptimize along with WP Rocket.

We could also increase the PageSpeed score by at least 10% by optimizing images (the biggest failing) with ShortPixel.

What Is WP Rocket?

WP Rocket is a WordPress caching and database optimization plugin for WordPress sites first released way back in 2013.

Since then it’s grown in popularity to become one of the most popular caching tools for WordPress users.

What’s interesting is that although there are lots of free caching plugins out there, several hundred thousand websites use WP Rocket instead:

Wp Rocket In Numbers

And the reason for that is because WP Rocket wraps the functionality of several different plugins into a single tool.

It’s far more than just another caching plugin.

How We Set Up WP Rocket

Our test environment was as follows:

The first thing to be aware of is that WP Rocket has to be manually installed after you purchase it – it’s not available from the WP plugin repository.

WP Rocket Plugin Installation

But doing that is simply a matter of downloading the ZIP file, going to Plugins -> Add new and then uploading it.

Wp Rocket Plugin Activation

The final step is to activate it.

What happens next is WP Rocket’s biggest selling point – it automatically configures itself to your site for optimal performance.

While that’s a nice sales pitch, it’s also not entirely true.

The results we posted at the start of this review were only possible after we spent a few minutes tweaking WP Rocket.

So don’t treat it as a set-and-forget caching plugin, because it’s not.

The WP Rocket Dashboard

Wp Rocket Dashboard

There are actually only 4 options on this screen you need to concern yourself with…which are displayed all the way over to the right-hand side of the page:

  1. Clear Cache – clears the WP Rocket cache for your site
  2. Preload Cache – caches all your site pages/posts so they can be served faster
  3. Purge OPCache – Clears out any PHP code stored in shared memory in PHP 5.5 or above
  4. Regenerate Critical CSS – useful if you’ve made significant changes to your CSS files

Note: The ‘Purge OPCache’ function is useful for anyone running a membership site, forum, or any type of site that requires users to log in to access information.

Cache

This is where you can adjust the various cache settings depending on the type of site you’re running, and its user profile i.e. desktop vs. mobile.

Mobile Cache

‘Enable caching for mobile devices’ is enabled by default when you activate the plugin, but you will need to manually turn on the ‘Separate cache for mobile devices’ function.

User Cache

This is suitable for membership sites, or where users need to login to view information. There’s usually no need to use this feature if you have a public-facing site.

Wp Rocket User Cache

Cache Lifespan

The set amount of time before your global cache is automatically purged, which will be useful for sites that post content on a daily basis:

Wp Rocket Cache Lifespan

File Optimization

This section of WP Rocket allows you to manage how HTML, CSS, JavaScript and other file types are optimized.

Or in plain English, this is where you can reduce the number of HTTP requests your site makes while possibly decreased your page load times.

What we like about this feature is that it does much of the same work as the WP-Optimize plugin, so that gives you the option of scaling down the number of plugins you use.

But it is worth testing how all-in-one plugins compare to separate plugins to see how they impact overall site performance.

Basic Settings

The only setting enabled by default is ‘Combine Google Fonts files’ because it will have no real impact on how your site runs i.e. missing fonts are replaced by default fonts.

From here you can choose to:

  1. Minify HTML – this removes all the blank spaces from within your HTML files, reducing their file size
  2. Combine Google Fonts files – Reduces the number of HTTP calls made to the Google Fonts API
  3. Remove query strings from static resources – removes the version query string from file names 

Our test results are based on enabling all of the above functions.

CSS Files

None of these options are enabled by default because making changes to your CSS files could potentially break your site:

Wp Rocket Minify Css Files Warning

But based on past experience, we’ve yet to see that happen with WP Rocket or any other half-decent caching/optimization plugin.

Minify CSS Files – this is pretty much the exact same as the ‘Minify HTML’ feature in that it reduces the size of these files, so they take less time to deliver from your server.

Combine CSS files – some WordPress themes can contain literally dozens of style sheet files, all of which mean more HTTP requests. This feature allows you to combine all of those separate CSS files into a single file.

Wp Rocket Excluded Css Files

Optimize CSS delivery – this stops any requests from style sheets that would negatively impact page speed.

Exclude CSS Files – only useful if you have CSS files you do not want optimized, for whatever reason.

JavaScript Files

The first two options here allow you to minify JavaScript files in the same way you can with HTML and CSS files.

You can then choose to exclude specific JS files, or to ‘Load JavaScript deferred’.

Wp Rocket Load Javascript Deferred

Being able to “Load JavaScript deferred” is important, especially because most plugins come with some kind of JS files attached to their functionality.

Each of these scripts can bloat your site code, forcing your browser to wait for them to load synchronously.

What that means for users is they’re sitting looking at a blank screen while your browser struggles to load multiple JS files, all demanding equal attention.

The ‘Load JavaScript deferred’ option helps to prevent this from happening by making them wait until your site has started to render in the browser.

Media

WP Rocket also has image optimization functionality as standard.

LazyLoad

The first optimization is ‘LazyLoad’, which means that your site only loads images as you scroll down the page.

This gives the perception that your page is loading more quickly, whereas all that’s happening is that images are loaded “on-demand”.

Wp Rocket Lazy Load

But being able to lazy load iFrames and videos is very handy because rendering all that external data can kill your page load times and bandwidth quotas with your hosting provider.

Note: We had to turn off the LazyLoad feature in WP Rocket because it conflicted with ShortPixel.

Emojis and Embeds

These functions allow you to turn off emojis on your site, and you can also stop people from embedding unwanted content on your posts or pages.

Wp Rocket Emoji And Embeds

Perfmatters is the only other plugin we’ve used (and trust) that allows you to disable emojis, so it’s neat to see that WP Rocket also has this feature.

By the way, we’re not saying you can replace the Perfmatters plugin with WP Rocket though – Perfmatters is well worth the price.

Preload

This section covers both DNS prefetch requests and preloading your entire site into the cache:

Preload

Wp Rocket Preload Options

With most other caching plugins your page is only added to the cache when it’s accessed.

This means the initial page request will be slow, but all subsequent requests will be faster.

However, with preloading your entire site is cached in advance, so users should experience faster page load times.

The preload function will start at your homepage and work its way through your site unless you instruct it to use a sitemap instead.

One word of caution is that “cache preloading” a site with hundreds/thousands of pages could cause a server spike, temporarily slowing down your entire site.

Prefetch DNS Requests

Every time your site accesses a web resource (API, etc) of any kind, a DNS request is generated.

It takes time for the DNS server to be contacted, to resolve your request, and then point you at the correct URL.

You can shortcut that entire process by listing the servers you want to resolve in advance:

The best way to imagine this is if you were trying to find a telephone number in a directory.

With prefetch, you’d already know exactly what page, line, and column the telephone number is listed under.

Without prefetch, you’d have to manually check the entire page of the directory until you found the number you needed.

Advanced Rules

There are certain elements of your site that you never want to be included in your cache.

Examples of this include login URLs, cart and checkout pages for an e-commerce store and cookies.

The ‘Advanced Rules’ tab of WP Rocket allows you to specify which URLs you want to be excluded from the cache:

Or do the same thing for cookies:

Wp Rocket Cookies Advanced Rules

You can also choose to block ‘User Agents’ from viewing cached pages. So you could block Googlebot or a web browser agent from viewing cached pages:

Wp Rocket User Agents Blocking

You also have the option of purging specific pages/range of pages from the cache when you update any post or page:

Wp Rocket Always Purge Urls

You can also cache specific URLs with query strings if you need to, although is usually in the domain of serious e-commerce developers or platforms.

Most WordPress users will never need to touch the ‘Advanced Rules’ section.

Wp Rocket Cache Query Strings

Database

The database cleanup feature is a perfect example of why WP Rocket isn’t just a caching plugin.

Post Cleanup

In most other circumstances you’d need to use a plugin like WP-Optimize to give your WordPress database a spring clean.

But now you can do pretty much all of that from within WP Rocket.

As you can see from the above screenshot the ‘Post Cleanup’ feature allows you to get rid of those post revisions and drafts you no longer need.

But you can also permanently delete spam comments and any comments you already sent to trash.

Wp Rocket Comments Cleanup

It also allows you to clear out ‘transients’ which are usually leftover settings from plugins you haven’t used since forever:

And finally you have the options to either completely optimize your WordPress database, or schedule future cleanups:

The ‘Database’ feature in WP Rocket does pretty much everything WP-Optimize does for the average user, potentially replacing it in your plugin library.

CDN

You already use a CDN and you’re wondering if you can integrate it with WP Rocket?

Yes, you can.

Wp Rocket Cdn

Note: Cloudflare (review) and Sucuri have dedicated add-ons to integrate them with WP Rocket.

Heartbeat

The WordPress Heartbeat API isn’t a terrible idea because it does help keep all elements of your WordPress website in sync with each other.

The problem is that all of this real-time data sharing eats up server resources.

So you’re best to control the Heartbeat API where possible, and WP Rocket allows you to do just that:

Wp Rocket Heartbeat

But it also allows you to reduce the activity of or disable Heartbeat for the backend, the post editor or at the frontend of the site:

Add-ons

WP Rocket also offers a number of add-ons to make your site even more efficient.

They didn’t try to provide add-ons for every single service under the sun – just the ones that people use most often.

Google Analytics is a typical example of this.

WP Rocket allows you to host your GA scripts locally, cutting down on response times and a hefty dose of external HTTP requests.

Wp Rocket Add Ons

But you also get add-ons for:

  • Facebook Pixel
  • Varnish
  • Cloudflare
  • Succuri

The only one of the above we tested during the review was the Cloudflare add-on.

Wp Rocket & Cloudflare Add On Settings

Once you’ve linked it to your Cloudflare account you can choose the following options:

  1. Development mode – temporarily take your site offline
  2. Optimal settings – automatically configure Cloudflare to work in tandem with WP Rocket
  3. Relative protocol – only enable this if you’re using Cloudflare SSL, which our test site isn’t

The ‘Clear All Cloudflare Cache Files’ feature saved us a lot of time going back and forth to the Cloudflare web-based dashboard to purge it yet again during testing.

Tools

And finally, you have a set of tools to import export existing settings for WP Rocket.

But one tool that’s worth a special mention is the ‘Rollback’ feature.

We rarely see this in plugins and wish more developers would take a leaf out of the WP Rocket team’s book.

WP Rocket Alternatives

So, is WP Rocket the best WordPress caching plugin, or are there other plugins you could use to achieve the same goals?

The honest answer is “Yes”.

Let’s take a look at the more popular ones.

W3 Total Cache

With 1 million active installations, W3 Total Cache has a lot of loyal users, and it does a pretty good job at improving page load times.

But the interface is a little bit “dense” – it’s just not very intuitive unless you know exactly what you’re doing.

Plus, to get the full power of the plugin you have to upgrade to the paid option, which is $99 per year.

WP Super Cache

This plugin has a feature that makes so much sense it boggles the mind that other caching plugins don’t use it – you get to choose between ‘Easy’ and ‘Advanced’ caching.

In terms of improving site performance, WP Super Cache lags behind W3 Total Cache by a full second in improving fully loaded time for a page.

The other problem is that this is just a caching plugin – it has no other functionality.

WP Fastest Cache

Although it doesn’t get as much attention as either of the previous plugins, WP Fastest Cache is a better-than-decent caching tool to speed up your WordPress site.

Wp Fastest Cache Options

It has a full range of optimizations that you enable by simply checking a box. We also like little touches like ‘Clear cache when a post or page is published” and there’s a dedicated option for enabling Gzip compression for your site.

WP Fastest Cache also ties with W3 total cache in terms of how much of a positive impact they had on page speed scores.

Autoptimize

The primary function of Autoptimize is to clear up the clutter in your HTML, CSS and JS files. This minification/aggregation will have an impact on page speed.

But it doesn’t have a dedicated caching function.

Autoptimize Plugin Settings

But you can most definitely use Autoptimize in conjunction with a caching plugin and database optimization plugin to achieve results comparable with WP Rocket.

Conclusion

And that brings us to the end of our WP Rocket review.

What this plugin offers is a hands-free approach to site caching and database optimization.

Tech nerds will probably stick with using a number of plugins to cache, optimize and tweak their WP install.

With that said, WP Rocket is an easy-to-use caching and performance optimization plugin, but it does cost $49 per year for one site.

Just be prepared to spend time adjusting its settings to get the most from this plugin.

You can download your copy of WP Rocket here.

Share on facebook
Share on twitter
Share on linkedin
Share on pocket
Share on email

Article by:

Contributors

Related Videos

Shane Dutka
Play Video
Play Video
Play Video
Play Video

Ready To Start Your Journey?

Now it is your turn to get started building your own Authority Website.

To help you get started, we put together a free video training that will give you all the tools and tactics you will need to get started even if you don’t have any prior experience.

Click the button below to join the training and let us show you the authority site model.

Scroll to Top