The Ideal WP Fastest Cache Settings With Cloudflare + CDN Instructions (Updated 6/18/2021 With Latest Version


WP Fastest Cache is a free cache plugin that’s easy to setup.

However, the developer hasn’t done a great job in updating the plugin for core web vitals. It lacks browser resource hints (preload, prefetch, preconnect), delaying JavaScript, removing unused CSS, adding missing image dimensions, heartbeat control, and other features many cache plugins have already integrated (WP Rocket, LiteSpeed Cache, and SG Optimizer are a few). You will need to install quite a few extra plugins if you want to get these speed features.

For this reason, I wouldn’t use WP Fastest Cache and would use one of those other cache plugins instead. If you don’t want to pay for WP Rocket or you’re not using LiteSpeed or SiteGround, you can use W3 Total Cache, but it’s also much more difficult to setup properly.

Otherwise, this guide shows you the ideal WP Fastest Cache settings and how to set it up properly with CDNs like Cloudflare or BunnyCDN. For hosting, I use Cloudways Vultr High Frequency (#1 host in most FB polls) and have a great GTmetrix report with a <150ms TTFB.

Leave me a comment if you have questions or see their support forum. But there are many complaints about WP Fastest Cache’s support just to give you a heads up. Remember to retest your site in Lighthouse or GTmetrix when you’re done – and comment with your new load time!


1. WP Fastest Cache Settings

If you plan on using BunnyCDN (recommended), StackPath, or another CDN besides Cloudflare, use these settings and go to the CDN section since the main settings will be configured differently (disable the preload, logged-in users, mobile caching, and update post).

If you plan on using Cloudflare, use the settings below but disable Auto Minify and Rocket Loader in the “speed” tab of your Cloudflare settings (Railgun should be enabled). This is what the WP Fastest Cache plugin developer recommends in his Cloudflare tutorial. The Cloudflare section shows you how to sign up for Cloudflare, change nameservers in your domain registrar, setup 3 Cloudflare page rules for better performance, and purge the cache once you’re done.

If you plan on using neither, use the settings below. The only thing you would change is in the Preload tab (pages per minute). If you’re using shared hosting use 4-6, VPS should use 10-12. Also, combining CSS and JavaScript files is not always recommended and needs to be tested.

Wp fastest cache settings

WP Fastest Cache Settings Overview:

  • Cache System: enable.
  • Widget Cache System: premium feature – caches your widgets.
  • Preload: enable – shared hosting should use 4-6, VPS should use 10-12). Preloading is done every 5 minutes, but you can change the interval by using cron jobs (learn more).
  • Logged-in Users: enable – only disable if multiple users can be logged in (i.e. bbPress), since each user should have their own cached version. If it’s just you, leave this checked.
  • Mobile: disableonly enable if you have a separate mobile theme or plugin (you probably don’t). Otherwise, most themes are responsive and work without a separate mobile cache.
  • Mobile Theme: premium featureyou would leave disabled if you use a responsive theme.
  • New Post: enable – when you publish a post, it will clear the cache (select clear all cache). This will also update blogrolls (i.e. on your homepage or blog page) to show the new post.
  • Update Post: enable – clears the cache files when a post or page is updated (learn more).
  • Minify HTML: enable – removes unnecessary characters from the HTML code to reduce the file size (high priority item in Lighthouse and GTmetrix). Leave disabled in your CDN.
  • Minify HTML Plus: premium feature – theoretically a more powerful HTML minification.
  • Minify CSS: enable – removes unnecessary characters from the CSS code to reduce the file size (high priority item in Lighthouse and GTmetrix). Also leave disabled in your CDN.
  • Minify CSS Plus: premium feature – theoretically a more powerful CSS minification.
  • Combine CSS: enable – combining CSS and JS is not always recommended and should be tested. Usually, small sites should combine CSS and JS while large sites shouldn’t combine.
  • Minify JS: premium feature – removes unnecessary characters from the JS code to reduce the file size (high priority item in Lighthouse and GTmetrix). Leave disabled in your CDN.
  • Combine JS: enable – again, combining is not always recommended and should be tested.
  • Combine JS Plus: premium feature – theoretically a more powerful JS minification.
  • Gzip: enable – if you’re using Cloudflare, enable Brotli (in the speed settings) and disable Gzip in WP Fastest Cache settings, since Brotli is widely known for being faster than Gzip.
  • Browser Caching: enable – temporary stores data to reduce load times for repeat users.
  • Disable Emojis: enable – disables emojis which are known for causing slower load times.
  • Render Blocking JS: premium feature – can help eliminate render-blocking resources (Lighthouse Item). However, Autoptimize and Async JavaScript will likely do a better job.
  • Google Fonts: premium feature – loads Google Fonts asynchronously. However, font optimization requires more than selecting this. Try hosting fonts locally, optimize them with browser resource hints (i.e. preconnect or preload), use font-display:swap, and limit the number of font families, weights, and icons. Try OMGFSwap Google Fonts Display.
  • Lazy Load: premium feature – lazy load was built-in to WordPress 5.5 (you don’t need this).


2. Delete Cache

Once you’re done configuring the WP Fastest Cache settings, delete cache and minified CSS/JS.

Wp fastest cache delete cache


3. Image Optimization

Premium feature which losslessly compresses images (an item in GTmetrix). There are other free plugins that do this like ShortPixel, Imagify, or TinyPNG (no need to upgrade just for this).

Wp fastest cache image optimization

Losslessly compressing images fixes efficiently encode images in Lighthouse.

Efficiently encode images


4. Premium

If you’re going to spend money on a premium cache plugin, WP Rocket has way more features than WP Fastest Cache Premium. The free version of WP Fastest Cache lacks many features and is rarely updated to incorporate new speed optimizations, while WP Rocket is constantly being updated with new features. It’s worth the money and is what I currently use on my blog.



5. Exclude

If any minify settings break your website, view your source code, find the problematic CSS or JavaScript files(s), and exclude them from minification by adding new CSS and JS rules. If you don’t see visible errors on your site when enabling minification settings, you can skip this step.



6. CDN Settings

A CDN makes your site faster by hosting it on multiple servers around the country and world as opposed to 1 origin server, reducing the geographical distance between the server and visitors.

  • BunnyCDN – the CDN that is most recommended in Facebook Groups and who I use. Affordable pricing, 50 data centers, easy to setup, and a consistently performant CDN.
  • StackPath – can be a solid choice but can actually increase TTFB in some cases. Recommended by the WP Fastest Cache developer but not who most people recommend.
  • Cloudflare – free but can also increase TTFBs in some cases. Cloudflare is setup differently (by changing nameservers). See the Cloudflare section for setup instructions.

Step 1: Sign up for BunnyCDN (highly recommended in Facebook Groups and who I use).

Cdn comparison feedback

Step 2: Configure WP Fastest Cache with these settings if using BunnyCDN or StackPath.

Stackpath wp fastest cache settings

Step 3: In the BunnyCDN dashboard, create a pull zone.

Bunnycdn add pull zone

Step 4: Copy your CDN URL from BunnyCDN.

Bunnycdn hostname

Step 5: Click “Other CDN Providers” in the CDN area of WP Fastest Cache.


Step 6: Paste your CDN URL in WP Fastest Cache and use your website as the origin URL.

Wp fastest cache cdn url

Step 6: Click next, leave all file types selected, then keep clicking next until it’s ready.

Stackpath file types


Stackpath specify sources


Stackpath exclude sources


Stackpath ready to go

Stackpath integration ready


Wp fastest cache cdn confirmation

Step 7: In BunnyCDN, click “purge pull zone”.

Bunnycdn purge pull zone

Step 8: Finally, make sure the CDN item is green in GTmetrix.

Cdn gtmetrix yslow

Cloudflare Instructions – this section is for setting up Cloudflare. Do not follow these instructions if you’re already using another CDN since you should only be using 1 CDN.

SiteGround, Bluehost, and other hosts usually have an option to activate Cloudflare in the dashboard. If your host doesn’t have this, you can setup Cloudflare using WP Fastest Cache.

Bluehost cloudflare

Step 1: Sign up for Cloudflare and you will be prompted to add your website and begin a scan.




You will eventually come to this page where Cloudflare assigns you 2 nameservers and provide a link to your Global API Key.


Step 2: Do a Google search for “how to change name servers on GoDaddy” (only search for your domain registrar), then follow their instructions. You will be copying the 2 nameservers from Cloudflare and paste them to a custom name servers option in the domain registrar dashboard.


Step 3. Grab your Global API Key from the link in Cloudflare, or in your Cloudflare profile.


Go back to WP Fastest Cache and click the Cloudflare tab. Enter the same email address used in your Cloudflare account, as well as your Global API Key.


Keep clicking next in WP Fastest Cache. They will automatically turn off the minify settings in WP Fastest Cache (since Cloudflare will now do this). They will also turn off Rocket Loader for better compatibility (your website won’t break), and set browser cache expiration to 24 days.






Looks good!


Step 4: Go to Cloudflare’s speed settings and make sure Auto Minify and Rocket Loader are turned off, but SG Railgun is on. This is what the WP Fastest Cache developer recommends.

Step 5: Take advantage of page rules which you can also add in your Cloudflare dashboard (you have a limit of 3 free page rules). Below are the 3 Cloudflare page rules I generally recommend.

Page Rule 1: Cache Everything And Force HTTPS – cache your website aggressively.



Page Rule 2: Secure The WordPress Admin And Bypass Cache – sets security level of the admin to high and bypasses Cloudflare’s cache in the admin, since you don’t want CDNs (or apps + performance features like Rocket Loader) running inside the admin.*


Page Rule 3: Decrease Bandwidth Of WP Uploads – since the content in your WP Uploads folder does not change frequently, increasing Edge Cache TTL to a month can save on bandwidth, since the WP Uploads folder cache won’t be refreshed as often.*


Step 6. Finally, go to your Cloudflare caching settings and purge individual files.

Purge individual files cloudflare

All done!

It can take up to 24 hours for Cloudflare to propagate

Cloudflare APO – I recommend using Cloudflare’s automatic platform optimization if you have $5/month which caches dynamic content and can significantly improve TTFB. But then again, if you’re going to pay for a premium CDN, that money might be better off purchasing WP Rocket.

Cloudflare automatic platform optimization


7. Database

Cleaning your database removes unnecessary junk and makes your site load faster. You can use the free WP-Optimize plugin to do this (no need to upgrade to WP Fastest Cache Premium). WP-Optimize also lets you delete tables left behind by old plugins you don’t use anymore. Make sure you’re not deleting things that can break your site and always take a backup beforehand.

Wp-optimize clean database


8. Delete Cache And Retest Your Site

Once you’re done configuring the WP Fastest Cache settings, go to Delete Cache → Delete Cache And Minified CSS/JS. Rerun your site through Lighthouse or GTmetrix to view results.

Gtmetrix report - omm
For how long this post is with tons of images/comments, it still loads in about 1s


9. Plugins I Recommend On Top Of WP Fastest Cache

Since WP Fastest Cache lacks many features that can help you pass core web vitals, I created a list of additional WordPress speed plugins I recommend installing on top of WP Fastest Cache.

  • Autoptimize – better job at optimizing HTML, CSS, and JavaScript.
  • Async JavaScript – should help eliminate most render-blocking issues.
  • OMGF – host fonts locally and add browser resource hints for your fonts.
  • CAOS Analytics – host Google Analytics tracking code locally on your server.
  • WP-Optimize – cleans your database and removes old, unused plugins tables.
  • ShortPixel – popular image optimization plugin (can also create WebP images).
  • Flying Pages – when users hover over a link, the page downloads in background.
  • Flying Scripts – delays loading JavaScript (great for optimizing third-party code).
  • Perfmatters – selectively disabled plugins from pages/posts with bloat removal.
  • Pre* Party Resource Hints – resource hints (prefetch, preconnect, and preload).
  • Heartbeat Control – disables Heartbeat to save server resources + CPU usage.


10. Cache Plugin Comparison

WP Fastest Cache is usually the #3 or #4 cache plugin in Facebook polls, trailing behind WP Rocket and LiteSpeed Cache.


11. Move To Cloud Hostng Or LiteSpeed (WPFC Won’t Fix Slow TTFBs)

WP Fastest Cache won’t fix a slow TTFB.

SiteGround has a slow TTFB, GoDaddy is a NO, Bluehost is gangrene, and stay away from Hostinger. Most hosting recommendations are garbage and I suggest joining the WP Speed Matters Facebook Group (run by Gijo Varghese) to get unbiased feedback on speed/hosting.

I use Cloudways Vultr HF which is a popular choice in Facebook Groups. You can check my GTmetrix report, TTFB, or click through my site to see yourself. I moved from SiteGround to Cloudways which cut load times in half and fixed CPU issues (it’s also monthly pricing with no higher renewals). They use Object Cache Pro/Redis with NVMe storage and 44 data centers. Main cons are no file manager/email hosting and their Breeze plugin + CloudwaysCDN aren’t great. I suggest WP Rocket or FlyingPress, Cloudflare or BunnyCDN, and Google Workspace. They do 3-day trials, a free migration, and a promo code for 30% off 3 months. Some people are afraid they’re techie since it requires an extra step to launch a Vultr HF server, but it’s not hard:

Cloudways launch vultr hf server

Siteground slow ttfb

Siteground cloudways cpu usage

Siteground vs cloudways pricing

Spend 5 minutes looking at recent Facebook polls on “the best hosting,” migration results of people who switched, and unbiased feedback in Facebook groups (click thumbnails to enlarge).


Moving away from siteground

LiteSpeed hosting on NameHero is another solid choice (if you haven’t heard of LiteSpeed, go read about it). It’s cheaper than Cloudways because it’s shared hosting – but faster than most.

I’m not sure why people use other LiteSpeed hosts like Hostinger/A2 when you get more CPU cores + RAM with NVMe on NameHero. You can use the LiteSpeed Cache plugin with server-side caching,, HTTP/3, and Redis. This is arguably the fastest setup you’ll find on a budget. I don’t know anywhere else you get 3 CPU cores, 3GB RAM, and NVMe on LiteSpeed for $8/mo. WP Johnny and I both have solid guides on configuring LiteSpeed Cache with QUIC. The main con is they only have data centers in US + Netherlands. Otherwise they have higher uptimes with less ‘frequent maintenance’ compared to Hostinger/A2’s uptime status page with US-based support. Ryan (the founder) is a down to earth guy if you watch his YouTube channel.

Namehero plans resources
NameHero has more resources compared to similar LiteSpeed hosts (see specs page)

Web server poll

Web server poll oxygen

Siteground vs cloudways vs namehero

Namehero vs siteground feedback

Siteground to namehero

Cloudways trustpilot review

Namehero trustpilot review

Affiliate Disclaimer: I use affiliate links to Cloudways + NameHero and appreciate your support. But what do I know? I’m just a biased affiliate. Do your own research in FB groups.


Frequently Asked Questions

Is WP Fastest Cache Premium worth it?

If you're going to spend money on a premium cache plugin, most people use WP Rocket since it comes with more features than WP Fastest Cache Premium and typically yields better results.

Which CDN should I use with WP Fastest Cache?

Cloudflare's free CDN is sufficient for most sites. If you're looking for even better results, use Cloudflare's APO or BunnyCDN.

How do I clear cache in WP Fastest Cache?

In the WordPress menu on top, go to WPFC and Delete Cache And Minified CSS.

What other speed plugins do I need besides WP Fastest Cache?

On top of WP Fastest Cache, you should install a plugin for image optimization, database cleanup, browse resource hints, optimizing Google Fonts, hosting Google Analytics locally, delaying loading of JavaScript, selectively disabling plugins, and heartbeat control.

How do I configure WP Fastest Cache on WooCommerce?

Cart, account and checkout pages are automatically excluded from WP Fastest Cache. If the cart widget uses PHP to update the cart, exclude woocommerce_items_in_cart cookie.

How do I use Cloudflare with WP Fastest Cache?

Sign up for Cloudflare and change nameservers in your domain registrar. WP Fastest Cache will ask for your Cloudflare email and API key which is in your Cloudflare account.

Here’s the WP Fastest Cache FAQ page if you still have questions.


See Also: My Full WordPress Speed Optimization Guide

If your website loads faster, feel free to leave your new page load time in the comments! Or if you have any questions I’m glad to help with that too. As you can see I’m a pretty big nerd when it comes to WordPress speed so if you follow these recommendations, there’s no reason your website shouldn’t load in under 3s. And if you found this tutorial helpful, sharing is appreciated.


About Tom Dupuis

Tom Dupuis writes WordPress speed and SEO tutorials out of his apartment in Denver, Colorado. In his spare time, he plays Rocket League and watches murder documentaries. Read his bio to learn 50 random and disturbing things about him.

116 thoughts on “The Ideal WP Fastest Cache Settings With Cloudflare + CDN Instructions (Updated 6/18/2021 With Latest Version

  1. Hi-nice work on this comprehensive article.

    In general, when you have a cache plugin and a CDN network linked to your site, it’s not recommended to minify HTML, JS & CSS on BOTH the plugin and the CDN, right? It’s better to rely on the CDN to run the minification and disable it from the plugin?

    Thank you in advance.

  2. Worst plugin ever.

    Just ran through all the settings, updated Cloudflare and ran new tests. My site speed dropped from 1.1 seconds with Autoptimize and Cache Enable to 11.3 seconds with WP Fastest Cache.

    Immediately deleted. Garbage.

  3. I pretty much agree with everything you’ve put out here but this informative post needs to be updated. Cloudfare has changed now and charges to have your DNS moved from Siteground (or other hosts) to theirs. If you choose not to pay for that (given my love/hate relationship with Cloudfare – I don’t) you need to add a txt file in your Siteground (or other host’s) DNS settings to verify your Cloudfare account.

    Also, I love StackPath even though they have a limited amount of servers throughout the globe. Their customer service is first-rate compared to Cloudfare, which has always sucked and their MVPs on their forum frequently give out bad information.

    That being said – there is an issue with Googlebot being able to read files served up by StackPath. It’s so bad – that I started generating 50 error mobile pages a day until my entire site was delisted. I went to StackPath support and over the course of 2 days working with them to correct the issue. It took a long time because they didn’t quite understand the issue and how it affected my search results i.e., SEO.

    Ultimately, they found a workaround on their end but it isn’t quite that good as Google was still having difficulty seeing some pages and it took several verifications to get it corrected. I couldn’t wait and sadly returned to Cloudfare.

    If you don’t have a global audience and are based in the U.S. then StackPath IS a solid choice. I’m hopeful they’ll come up with a more satisfactory solution besides their workaround because it affects their business as most webmasters are aware of the importance of SEO and Googlebot being able to read every file on your site.

    This has been a harrowing week of working with them and then switching back to Cloudfare. I’ve finally got everything working to my satisfaction but it’s been a nightmare.

  4. Thank you for this article! It is a very complete article and very useful. My page speed went from 8 seconds to 2! Your article and instructions are also very easy to follow.

  5. Im not one to usually commment on website posts, but this one id well deserved of some feed back!

    I was cared to use w3 total cache, as wp rocket messed my site up before. I was just using auto optimise.

    I had good gt metrix, but poor google page speed.

    Followed this guide step by step, took about half an hour all together, and my site is 99-100 in google page speed!!!

    Ridiculous! Really appreciate this guide! Done it all with 0 problems! I was going to pay a guy on fiverr to do this for me too lol!

    Follow the instructions, and this plug in will suit all of your needs

Leave a Reply

Your email address will not be published.