The Ideal FlyingPress Settings With FlyingCDN/BunnyCDN (And Why It’s Faster)

Flyingpress settings

Haven’t switched to FlyingPress yet, huh?

I did and saw a major difference compared to WP Rocket (mostly in actual browsing speed). Then I made this table comparing the features in FlyingPress vs. WP Rocket vs. SiteGround Optimizer. It also shows you why FlyingCDN (which uses BunnyCDN’s geo-replication + Bunny Optimizer) is much better than RocketCDN since it only serves files with no additional features.

Once you compare them side by side, it’s easy to see why so many people are switching to FlyingPress. So of course, I had to write this tutorial on configuring the FlyingPress settings.

This was WP Johnny’s recommendation. I was lucky enough to have him help me with some optimizations to improve speed/core web vitals and switching to FlyingPress was one of them. He set it up initially, then I dug through the settings + documentation and made tweaks after.

FlyingPress was built by Gijo Varghese who runs the WP Speed Matters Facebook Group and has developed other plugins which usually have a perfect 5/5 star rating. While some people are turned off by the initial price of FlyingPress, it’s actually cheaper than WP Rocket long-term considering renewals are $42/year (FlyingPress) and $49/year (WP Rocket) for 1 site. Especially since WP Rocket stopped offering renewal discounts. SG Optimizer is hyped up by SiteGround but is unstable and lacks features. So if you’re not getting good results, I would try FlyingPress.

If you switch, do Gijo a favor and take before/after screenshots of your reports and send it to him. You could even post them in the FlyingPress Facebook Group. I’m sure he’d appreciate it.

SG Optimizer WP Rocket FlyingPress
Server-side caching x x
Delay JavaScript x
Remove unused CSS x Inline Separate file
Critical CSS x
Host fonts locally x x
Font-display: swap x
Preload links x
Preload critical images x x
Fetchpriority resource hint x x
Lazy render HTML elements x x
Lazy load background images x Inline Helper class
Exclude above the fold images By class By URL By number
Add missing image dimensions x
YouTube iframe preview image x
Self-host YouTube placeholder x x
CDN (beyond Cloudflare) SiteGround CDN StackPath BunnyCDN
CDN PoPs 14 60 93
CDN Tbps N/A 65 80
Dynamic caching Premium x Vary cache
CDN geo-replication x x
CDN image optimization x
CDN image resizing for mobile x x
Documented APO compatibility x x

  1. Dashboard
  2. Cache
  3. CSS
  4. JavaScript
  5. Font
  6. Image
  7. IFrame
  8. CDN
  9. Database
  10. Cloudflare APO
  11. FlyingPress vs. WP Rocket vs. SG Optimizer

Affiliate Disclaimer – I use aff links to FlyingPress and appreciate your support.


1. Dashboard

General information like links to your FlyingPress account, documentation, Facebook Group, open a support ticket, etc. Shows number of cached pages with option to purge/preload cache.

Flyingpress dashboard

  • Documentation – FlyingPress has great documentation. Download the plugin from the FlyingPress website and upload it (key is attached to the zip file and added automatically).
  • Facebook community – The FlyingPress Facebook Group is specifically for the plugin, or you can check the FlyingPress changelogGijo also runs the WP Speed Matters Facebook Group which is everything related to speed. I love that he is so involved in the community.
  • Open a ticket – leads to the contact page where you can get support (the support I received from Gijo was by far the best I’ve gotten out of any other cache plugin’s support).


2. Cache

Flyingpress cache settings

  • Cache Pages: OnGijo’s documentation says to disable caching in FlyingPress when using APO. However, Brian Li from Kinsta explains how APO is not a substitute for page caching and says to keep it on in cache plugins. I use APO and still have caching On in FlyingPress. If you’re on Cloudways, FlyingPress automatically purges Varnish. To make sure FlyingPress cache is working, open your site in an incognito window and look for FlyingPress’ response header (x-flying-press-cache: HIT) in the first request/HTML page.
  • Additional Auto Purge: None in most cases. FlyingPress already detects many URLs and purges key pages when you publish/update posts or update WooCommerce stock. If you have other types of dynamic content that aren’t being auto purged, use the other options.
  • Cache Lifespan: Never in most cases, unless certain plugins use shorter security tokens.
  • Exclude Pages from Caching: key eCommerce pages, admin/login pages, and several others are automatically excluded from the cache (see list), but you can add more here.
  • Ignore Query Strings: if you have query strings that should be ignored and not cached (i.e. ad campaigns), add them here. FlyingPress has a list of query strings it ignores by default. Johnny also has a detailed guide on when to ignore query strings with examples.
  • Optimize for Logged in Users: Off – turning it on means pages will remain uncached (dynamic). By turning this setting ON, FlyingPress just optimizes pages for logger-in uses on the fly. Johnny says this can speed up your admin but will probably cause some issues.


3. CSS

Flyingpress css settings

  • Minify & Optimize CSS Files: On – minifies CSS as well as other CSS optimizations like rewriting font + background image URLs in CSS files so they can be served from your CDN. Whether you should minify or not and where to minify (cache plugin vs. Cloudflare) is tricky. When using APO, Cloudflare recommends disabling minification in Cloudflare and doing this from your cache plugin. Gijo recommends minifying CSS/JS in Cloudflare but not HTML, then disabling minify settings in FlyingPress (I assume when not using APO). Johnny suggests leaving minify CSS/JS off for large sites with lots of pages/CSS. Then there’s the fact that minifying from your CDN is supposed to be faster than your cache plugin. Lots of different advice (all from smart people), so I guess just run own test? I use APO so I took Cloudflare’s advice of minifying in FlyingPress and disabling it in Cloudflare.
  • Generate Critical and Used CSS: On – critical CSS can fix render-blocking resources by creating a critical CSS file which is injected into the head. Unused CSS removes unused CSS selectors and the new file will be loaded asynchronously from an external stylesheet.
  • Load Unused CSS: asynchronously – safest option but read the documentation and test your results. I originally tried “remove” but it broke my website, so I went back to async.
  • Force Include Selectors: add CSS selectors to be force included in your critical and used CSS. Gijo gave the example of cookie-notice and sure enough, I have a cookie-notice CSS selector on my site. If there are other selectors you want to force include, add them here.
  • Lazy Render HTML Elements – similar to lazy loading images only it’s for CSS selectors. You’ll want to inspect your site in Chrome Dev Tools then copy non-critical CSS selectors loading below the fold (jump to 1:08 in the video). You can do this with CSS selectors like comments (#comments) as well as footer (#footer), then paste them into FlyingPress. Just make sure you check your own CSS selectors since they can be different for each site.
Css selectors chrome dev tools
Use Chrome Dev Tools to find CSS selectors, then add them to FlyingPress to lazy render them
Remove unused css wp rocket vs perfmatters vs flyingpress
Vikas explains why FlyingPress is more effective at removing unused CSS (update: Perfmatters now has “file” option)


4. JavaScript

Flyingpress javascript settings

  • Minify JavaScript: On – basically the same optimizations as minify CSS only for JS.
  • Preload Links:  Off – when users hover over a link, that page will be preloaded so by the time users actually click it, the page will appear to load almost instantly. This also means that if users hover over lots of links, too many pages can be preloaded which can increase CPU usage (especially on shared servers). To be safe, you should probably leave this off.
  • Defer JavaScript: Off – can fix render-blocking errors by loading JS asynchronously, but Johnny suggests not enabling it since it improves scores at the cost of a slower website.
  • Load Scripts on User Interaction – see list below of common JavaScript to delay. The documentation explains how to delay specific plugins (wp-content/plugins/xxx), scripts from a theme (wp-content/themes), etc. You can also check your “reduce impact of third-party code” report (see screenshot). If there’s no user interaction, all scripts load after a 10s timeout period. If you delay AdSense, make sure this doesn’t impact data + revenue.

ga( '


5. Font

Flyingpress font settings

  • Optimize Google Fonts: On – downloads Google fonts to host them locally, combines, and inlines them. Google Fonts served by external JavaScript files can’t be hosted locally.
  • Display Fallback Fonts: On – addresses “ensure text remains visible during webfont load” in PageSpeed Insights which improves CLS. This will set a fallback font for external fonts and prevents FOIT (flash of invisible text) by adding font-display: swap to your CSS. But this can also cause FOUT (flash of unstyled text), so choose between one or the other.
  • Preload Fonts: On – Gijo recommends only preloading fonts mentioned in the CSS file and fonts loading above-fold. PSI should tell you which fonts to preload under “preload key requests.”  If you’re using a CDN URL to serve fonts, make sure you use the font file with the CDN URL in it (it should match the exact font file found in PageSpeed Insights).


6. Image

Flyingpress image settings

  • Lazy Load Images: browser native in most cases which is supported by most major browsers (except Safari) and doesn’t use JavaScript. Otherwise, “using JavaScript” is supported by all major browsers (including Safari) but JavaScript has worse performance. I have “exclude above fold images from lazy load” set to 3 since lazy loading images in the viewport increases LCP. But it depends on how many images are typically in the viewport. Gijo has instructions for lazy loading background images by using the CSS class “lazy-bg”.
  • Add Responsive Images: On – can only used with a FlyingCDN subscription. This resizes images to the appropriate size based on render size. Similar to Cloudflare’s image resizing.
  • Add Width And Height Attributes: On – improves CLS by adding width/height attributes to images. This should help fix the ‘use explicit weight and height’ recommendation in PSI.
  • Preload Critical Images: On – FlyingPress will attempt to detect images shown in the viewport so these images can be preloaded and excluded from lazy load automatically.
  • Disable Emoji: On – removes a small JavaScript code in WordPress that displays emojis.
Lazy load background images flyingpress
Use the lazy-bg helper CSS class from FlyingPress to lazy load background images


7. IFrame

Flyingpress iframe settings

  • Lazy Load iFrames: On – iFrames like embedded videos and Google Maps will only be loaded when they’re near the viewport, and will be excluded if they’re in the viewport.
  • Use Placeholder Image for YouTube iFrames:  On – replaces YouTube iFrames with a preview image. Significantly improves speed if you embed videos since they load extra JavaScript + third-party requests. The iFrame only loads when the play button is clicked.
  • Self-host YouTube Placeholder: On – love this setting! Even when replacing iframes with preview images, you’ll see third-party requests from This should eliminate them by hosting the placeholder on your server instead of pulling them from that external domain. It also means YouTube thumbnails can now be cached and served from your CDN.


8. CDN

FlyingCDN uses BunnyCDN with geo-replication and Bunny Optimizer for $0.03/GB.

Normally, BunnyCDN’s pricing is $0.01/GB – $0.06/GB depending on your regions, geo-replication costs $0.045/GB for all 5 replicated regions, and Bunny Optimizer (for image optimization) is $9.50/month. Paying a flat $0.03/GB is a solid deal Gijo worked out with them.

BunnyCDN (Used By FlyingCDN) – consistently performant CDN on with 93 PoPs and 80 Tbps+. Compared to RocketCDN/StackPath, you get 23 more PoPs and it’s 15 Tbps faster.

Cdnperf. Com

Geo-replication – copies your files to BunnyCDN’s storage zones. Files are pulled from the closest zone and requests won’t hit the origin. Improves cache/hit ratio and reduces latency.

Bunnycdn perma cache

Bunny Optimizer – image optimization service offered by BunnyCDN which includes compression, WebP, and resizing images to serve smaller versions to mobile devices.

Bunnycdn optimizer settings

BunnyCDN + Cloudflare – Gijo recommends the BunnyCDN + Cloudflare combination for a better cache/hit ratio, traffic routing, and geo-replication. This is also what I use on my website.

Cloudflare with bunnycdn

Flyingcdn vs cloudflare

Gijo has instructions for setting up FlyingCDN or you can follow mine:

Step 1: Add money to your FlyingCDN account.

Recharge flyingcdn account

Step 2: Set up a custom CDN URL by adding a CNAME record to your DNS.

Flyingcdn custom domain

Step 3: Add your CDN URL to FlyingPress and select the types of files to serve (i.e. all files).

Flyingpress cdn settings

Step 4: View your source code and make sure the correct files (i.e. CSS/JS/fonts) are being served from FlyingCDN. You can also try purging or waiting some time for the files to update.

Flyingcdn assets

Recommended Cloudflare settings – if using Cloudflare, Gijo’s recommends changing your website to proxied, setting browser cache TTL to 1 year (or respect existing headers if using Cloudflare to cache pages), only minifying CSS + JS (not HTML), and disabling Rocket Loader.


9. Database

Flyingpress database cleaner settings

I have database cleanups scheduled weekly (I know, not a good idea, but I’m lazy).

I don’t delete auto drafts or post revisions because I want to keep at least a few backups of posts, but I do limit post revisions to only 5 using Perfmatters (or just do it with a line of code).

Just like I recommend with any cache plugin, I like to install WP-Optimize once in a blue moon to do a thorough cleaning of my database. If you install/delete plugins often, they leave behind bloat in your database. You can probably delete all tables that say “remove.” Also take note of plugin features/modules causing bloat (such as anything that scans your site or provides data).

Wp optimize unused database tables
Remove tables from uninstalled plugins and disable plugin features/modules adding too much overhead


10. Cloudflare APO

FlyingPress is fully compatible with Cloudflare APO. I wrote a detailed guide on setting up Cloudflare APO using the Cloudflare plugin, or Cloudflare also has their own APO instructions.

The first step is to benchmark your results/TTFB in KeyCDN and disable FlyingPress (this is recommended by Cloudflare). You’ll reactivate FlyingPress after you confirm APO is working. Kinsta’s Brian Li recommends keeping caching enabled in your cache plugin when using APO.

Next, you’ll need to proxy your traffic through Cloudflare in order to use APO. Just turn your website to proxied (not DNS only) in Cloudflare’s DNS settings. Once you’ve purchased APO ($5/mo), install Cloudflare’s plugin, create an API Token in Cloudflare, and add it to the plugin.

Cloudflare plugin automatic platform optimization

Finally, use to make sure APO is working by testing your website using https://www. format. Reference the screenshot below. Once it works, reactivate FlyingPress. Gijo also listed some recommended Cloudflare settings if you’re caching pages with Cloudflare.

Test cloudflare apo

Cloudflare’s plugin has a setting to “apply recommended Cloudflare settings for WordPress,” but I would only do this if you’re not comfortable with configuring your Cloudflare settings.


11. FlyingPress vs. WP Rocket vs. SG Optimizer

WP Rocket needs to do a better job of optimizing for real-world browsing. Remove unused CSS uses the slower inline method, lazy loading background images is harder, and RocketCDN isn’t great. SiteGround Optimizer is clearly missing features and isn’t reliable. Perfmatters can help take care of some optimizations they lack, but at that point you’re better just using FlyingPress.

You don’t know until you know:

Omm switches to flyingpress

You rock Gijo, keep up the great work and thanks for building the awesome community/plugins.


You Might Also Like:


  1. Hi Tom,

    Great article! I had already been on Cloudways but now I am replacing WP-Rocket with Flying Press – thank you for your affiliate link.

    The question I have is that once everything is configured, how do I check the test speed especially if it’s content that’s behind a paywall? GTmetrics that I usually can’t get past the paywall so how do you measure the performance of those pages?

    I’ve always wanted to know that thank you


    • Good question… haven’t encountered this so I’m kind of guessing. Can you use Lighthouse or a Waterfall chart like the one in Chrome Dev Tools?

  2. Hello Tom. Great post. I decided to switch from WP Rocket to FlyingPress. Unlike the post with recommendations for WP Rocket, in this one you did not mention Perfmatters. With FlyingPress, is it no longer necessary to use Perfmatters? I’m really new to this optimization thing.

    • Hey Alejandro,

      When using FlyingPress, Perfmatters is mainly good for the script manager, bloat removal options (general settings), and local Analytics which FlyingPress doesn’t do. Otherwise, most other features overlap and I would use FlyingPress for them.

  3. Thanks for the very in-depth articles on Flying Press, LiteSpeed Cache and WP Rocket. I was using WP Rocket and switch to Flying Press but unfortunately, haven’t seen any change in load times and my page size doubled. I’ll keep playing with the settings as I’ve heard a lot of great things about it. Thanks again!

  4. Hi Tom,
    Thank you for this incredible article (and your others). I’ve probably given you 3,000 pageviews on it in the last couple of months. LoL! I just kept coming back to revisit different aspects of my 8 month old food blog site which I’m still learning WP and all its facets. Fortunately, I was in IT Management for over 30 years (and Food Services Mgmt) so learning has been a normal routine. Just retired and have tried probably over 100 plugins (not kidding on that) for all the usual reasons.

    I actually found your site, which is great btw, after I researched and started using FlyingPress plugin. I went to Cloudways (eventually) but stayed only about 2-3 months. They changed something about 2 weeks ago on their Cloudflare CDN. It took awhile but I keep a log of my changes and had narrowed it down to Cloudways’ Cloudflare CDN. When I addressed it, I was told it was a forced security option they enabled. Hmmm. So, I dropped their CDN and lost about 7% performance. I then reread some of your articles and moved over to, as you had recommended.

    You have certain details in your writings that are appreciated. For example, you mentioned that you had to request “Redis” to be enabled (on so I went ahead and did that also. Also, Gijo helped me out and tweaked some of my FlyingPress settings to get me going super again, since doesn’t really advise what you don’t need anymore (like Imaging CDN, Page caching, etc.).

    I truly appreciate the professional sharing that you consistently portray. I will continue to follow your writings as my endeavor is to have the fastest performing food blog in the U.S. However, that already might be the case, thanks to you and people like Gijo. Take care.

    • Heyyy Jeff,

      Man, I loved reading this – thanks for saying that! Food blog sounds fun tbh and I’ve always wanted to try something like that… gotta get a little away from tech eventually.

      Forced security option in Cloudway’s CF Enterprise, are you talking about challenge pages? I’ve tried to get them to fix that a long time ago but not sure if it’s what you’re referring to.

      Ah yes, I wish there was more documentation on using with FlyingPress. Tried to cover some of it in the review (in the FAQ section) with the help of Ben, but glad you got it squared away.

      Again, thanks so much and lmk if you need help or have any suggestions for my site/articles. I appreciate you and your feedback.


  5. Hey Tom,

    Thanks for this guide. I grabbed both Permatters and FlyingPress per your recommendation.

    My website is now flying on a shared hosting.

  6. Tom,

    Amazing guide. I’ve had good results from your tips now and in the past. Last week moved to , this week to flyingpress.

    Question. Even thought integrates with Cloudflare enterprise, do you still use the bunny cdn through flyingpress? And does it make a difference?

  7. I have always been using WP-rocket on my WooCommerce store until today when I decided to switch to FlyingPress. No regret at all. I have passed core web vitals all the time but with flying press the site got even faster. I also noticed i got much more HIT then before on our cloudflare plan.

    I would definitely recommend FlyingPress over WP-rocket nowdays!

  8. Hi there, great write up on FlyingPress! Have been waiting for good in depth article such as yours on the FlyingPress plugin. I am using a Litespeed enabled hoster but failed to fully correctly utilise the Litespeed Cache plugin therefor switched to FlyinPress which in the end solved everything for me without needing to lift a finger! It sure is a magical plugin but now I am trying to give Litespeed Cache plugin a go again as recommended by my web hosting support as they say it is better in terms of caching with the server. I read till the end of the article but I do not see any mention of Litespeed Cache in your conclusion, might you add it in? Hehe. thanks for the nice article!

    • Hey Benjamin,

      I do have a tutorial on LiteSpeed Cache. It’s supposed to be the fastest cache plugin but the trick is configuring it correctly which like you said, can be difficult since there are so many options. Probably my top 2 cache plugins right there though… both are great!


Leave a Comment