Can I Use WP Rocket with Cloudflare?

YES, you can, and without any hassle!
Using WP Rocket with Cloudflare CDN can be the perfect solution to bring the best out of your WordPress website and boost its speed. WP Rocket is a premium caching plugin that offers easy Cloudflare integration to help CDN users connect their WordPress sites in a matter of minutes.

WP Rocket + Cloudflare soars on GTmetrix.
WP Rocket paired with Cloudflare has all my sites scoring A(ces) on Gtmetrix.

Randy Milanovic
CEO, KAYAK Marketing

Getting Started with WP Rocket and Cloudflare

WP Rocket works with Cloudflare straight out of the box – this means you have nothing else to do. Easy as that.

You can also use WP Rocket’s Cloudflare add-on but this is optional. The add-on simply provides a convenient way to configure some settings.

  • If you are using Cloudflare’s ‘Cache Everything’ feature, then configuring our Cloudflare add-on will be required to sync cache purging.
  • If you use the WP Rocket Cloudflare add-on, you no longer need the official Cloudflare plugin because WP Rocket already provides the same functionality of providing originating IP addresses.

⚠️ Cloudflare is not a CDN! Cloudflare is a DNS Proxy with CDN capability. The CDN part doesn’t need any configuration. So you shouldn’t add any CNAME in WP Rocket’s CDN tab. Doing so will break your site!

If you would like to use our Cloudflare add-on, the following video explains how to set it up:

If you have any questions, please refer to the dedicated sections in our documentation or contact the support team anytime.


How to Get the Most from This Combo

You don’t have to make any changes in the Cloudflare settings when using WP Rocket.

If you want to be sure that there won’t be any issues, you can either turn on the Optimal Settings option on the WP Rocket Cloudflare Add-on, or you can proceed manually.

About the ‘Optimal Settings’ option

Activating this option is highly recommended and will make your life way easier. When ‘Optimal Settings’ is enabled, WP Rocket automatically selects a pre-defined set of options for Cloudflare in order to improve the performance of your site:

  • Sets Cloudflare’s caching level to Standard
  • Activates Cloudflare’s minification
  • Deactivates Rocket Loader (name unrelated to WP Rocket)
  • Sets Cloudflare’s browser cache to 1 year

Of course, as mentioned above, you can also do all of this manually if you prefer.

What Makes WP Rocket the Best Caching Plugin for You?

Take a look at the 4 reasons that make WP Rocket the must-have cache plugin

Immediate Results

WP Rocket will automatically apply 80% of web performance best practices. You don’t even have to touch any settings.

You’ll see an instant improvement to the naked eye in your Core Web Vitals scores – no technical knowledge required, we promise!

Powerful Features

Page caching, browser caching, or GZIP compression are only some of the default features that will make your site faster in a blink. 

It also includes other features to help you optimize your site’s code and performance: minify CSS and JS files, combine CSS and JS files, remove unused CSS, load JavaScript deferred, delay JavaScript Execution time… and much more! All of which improve your Core Web Vitals metrics.

Unique Compatibilities 

Keep using your favorite tools without worrying about compatibility.
WP Rocket is the only caching plugin accepted by the top managed WordPress hosting providers: WP Engine, Kinsta, and Pressable.  

Our team continuously works with themes and third-party plugins developers to ensure that there are no conflicts between our products. 

We’ve Got Your Back

Web performance is an ever-changing environment that can be tricky sometimes, even for advanced users!

Our support team is ready to assist if you have any questions or technical hurdles.

Don’t Just Take Our Word for It

5 Stars based on real users reviews

Hands down the best cache plugin EVER!

Hands down the best cache plugin EVER! Not only it solves speed issues, it’s extremely easy to setup and configure. What could only get it to 5 star is that the customer support is extremely helpful!

Super Daddy

Heads above the competition

As an SEO professional, WP Rocket is heads above the competition. Not only does it deliver superior performance, it is also one of the easiest caching plugins to setup.

Ron Collins

Already +5,372,000 Websites in Orbit

We’re only missing yours!
Get WP Rocket Now

A Better Performance Starts Here

You can choose between 3 license types

Taxes may apply depending on your country of residence.

Display Prices In

US$

100% Money Back Guarantee

Although we don’t think you’ll ever want one, we’ll gladly provide a refund if you request it within 14 days of your purchase.