Blog Post

WP Rocket recommended settings

WP Rocket is a very powerful caching plugin, and it is easier to setup than most other cache plugins for WordPress. And, you have extensive documentation about setting it up.

But, sometimes it is usefult to see on a practical example what settings to use, and what is a real world use for some settings. There are many settings that documentation recommendes, but they don’t produce any real gain. All settings and recommendations in this tutorial are based on the WP Rocket settings used on this website. We will start from the first, Cache tab.

Basic Cache Settings
Basic Cache Settings

On the Cache tab, you should enable caching for mobile devices. But, we don’t use Separate cache for mobile devices, because there are no files loaded for mobile devices, compared to destkop. If you load some files on mobile devices only, enable this option too. It is useful to enable caching for logged-in users, escpecially if you have personalized content for logged in users. As for the cache lifespan, 24 hours is good expiration value.

Files optimization is the tricky part, and from experience, enable all basic settings: Minify HTML, Combine Google Fonts files and Remove query strings from static resources. As for the CSS and JS caching, this can be very benefitial, but it can be very hard to configure, especially if you have a lot of plugins in use because there is always one that will break the JS or CSS cache. Also, if your server supports HTTP/2 protocol, there is really no need to minify and merge multiple files into one, because over HTTP/2 number of served files doesn’t slow down loading.

On the Media tab, I only use the option to disable Emoji. As for the Preload tab, if you use sitemaps, enable the preload, and set it up as Automatic.

Finally, the CDN tab. If you don’t use CDN, start using it. If you use Cloudflare or some similar service, CDN is included, so you don’t need to use the CDN tab. But, for other cases, CDN setup depends on the CDN service you use, but generally, you need to provide one or more CDN names to use for replacing your media URLs. WP Rocket allows you to use CDN for images, JS and CSS files, and you can provide different CDN URLs for each one.

As you can see, WP Rocket is not complicated to setup, but, for some more advanced settings, you need to invest sime time in experimenation. And, make sure to test your website after making changes, because if you setup something wrong, you can break it.

Please wait...
Make your WordPress powered website load fast in just a few clicks
WP Rocket - Superior WordPress Performance

The most powerful and full-featured caching plugin for WordPress, with basic setup. The Plugin supports page cache, CDN, CloudFlare, Preloading, Lazy load, minification, prefetch and much more.

Disclosure: This post contains affiliate links, which means that I receive compensation if you make a purchase using this link.

About the author

Milan Petrovic
Milan Petrovic

CEO and Lead developer of Dev4Press Web Development company, working with WordPress since 2008, first as a freelancer, later founding own development company. Author of more than 250 plugins and more than 20 themes.

Subscribe to Dev4Press Newsletter

Get the latest announcements, release digests, promotions and exclusive discounts, and general Dev4Press-related news straight into your mailbox.


This form collects your email (optionally your name) for the purpose of sending you newsletters. Check out our Privacy Policy for more information on how we store and manage your data. We will not send you any spam. Newsletters are sent 2 to 4 times every month.

Latest From The Blog

license management

License Code Validation and Management

Dev4Press License validation system updates will soon be deployed, including license code management via the Dev4Press Account Dashboard. All updates will be deployed on April 14, 2024.
panel options

In Development: SweepPress Pro 5.0 and Lite 3.0

In about two weeks, brand new, significant updates to SweepPress Pro and Lite plugins will be released, bringing several game-changing features to WordPress cleanup and maintenance tools already included.

GD Press Tools Pro 6.3

The new major release for GD Press Tools Pro, version 6.2 is here, and it brings some major changes. First of all, the plugin has two addons less, one addon is added and one more addon has been deprecated (but still included for now).

Leave a Comment

WP Rocket - Make WordPress Load Fast in a Few Clicks
Grammarly - Number 1 Writing App
0
6
0
0
0
0