shared wordpress hosting vs Cloudflare comparison is difficult to do. Both the CDNs are reverse proxy providers. We have different servers hosted by GoDaddy, SiteGround, DreamHost, HostGator etc hosting services. Then there are shared hosting, VPS, Cloud hosting of different plans.

To do an accurate vs Cloudflare, you need a LiteSpeed Web Server. LiteSpeed Technologies is optimized for WordPress technology. works only with the LiteSpeed Cache plugin. Cloudflare can be used with any kind of web server like Apache, Nginx, Debian, Ubuntu etc.

wordpress ad plugin

LiteSpeed Cache plugin is the front-end of LiteSpeed server system. facilitates a LiteSpeed server when it is not available. In addition page caching, image optimization, CDN services are provided.

To compare and Cloudflare, we need to use a website with LiteSpeed Server. Then run the speed tests with and Cloudflare separately. We have an article from where the advantages of using Cloudflare and are mentioned. does both dynamic and static caching. But a free Cloudflare plan does only static caching. To implement WordPress dynamic caching you need Automatic Platform Optimization (APO) service which costs $5/month.

Case Study of vs Cloudflare

As many WordPress users like to do, they want to use both and Cloudflare with a LiteSpeed Server. Another case is when they have a non-LiteSpeed server like Apache and use LiteSpeed cache plugin. Then they want to link with Cloudflare CDN.

Both of them not only provide CDN, but also provide security rules, protect from DDoS attacks, browser hijacks and many others.

For our case study we are going to take two sites with the following configuration.

  1. ThinkMinds – + LiteSpeed Cache + LiteSpeed Server
litespeed server and cache
  1. WPReviewTips – Cloudflare + LiteSpeed Cache + Apache Web Server

This is not an ideal situation to compare. But as many WordPress users like to do so, we are doing this comparison to see the results.

CDN Ideal Settings 2022

To configure both the CDNs, we have used the following settings on and Cloudflare.

  1. Ideal Settings of 2022.
  2. Cloudflare Ideal Settings of 2022

With these settings set, one article from each site is tested using the GTMetrix test and PageSpeed Insights testing tools.

GTMetrix Test – vs Cloudflare



  • Total Page Size – 677KB
  • Total Page Requests – 87
  • GTMetrix Grade – C
  • LCP – 3.4s
  • CLS – 0.11
  • TTFB – 3.2s
  • Fully Loaded Time – 3.9s vs cloudflare gtmetrx

  • Total Page Size – 53.6 KB
  • Total Page Requests – 5
  • GTMetrix Grade – A
  • LCP – 635ms
  • CLS – 0
  • TTFB – 84ms
  • Fully Loaded Time – 725ms
cloudflare vs gtmetrix

PageSpeed Insights – vs Cloudflare



  • Performance – 75
  • FCP – 0.4s
  • LCP – 2.4s
  • CLS – 0.006

  • Performance – 100
  • FCP – 0.4s
  • LCP – 0.4s
  • CLS – 0



  • Performance – 39
  • FCP – 2.8s
  • LCP – 7.2s
  • CLS – 0.058

  • Performance – 100
  • FCP – 1.4s
  • LCP – 1.5s
  • CLS – 0


From the above results, it is crystal clear that Cloudflare does not work well with LiteSpeed Cache and Apache web server. For more accurate results, we need to test with LiteSpeed Server and Cloudflare.

On the other hand, works the best with LiteSpeed Cache. WordPress optimization is done well with this kind of setup. In the vs Cloudflare comparison, the former does well with outstanding core web vitals and speed.

To make Cloudflare work, you need to use WP Rocket. In this LiteSpeed Cache vs WP Rocket results, we could see that Cloudflare produced far much better results with WP Rocket.

I recommend using WP Rocket + Cloudflare for small sites and static pages. But for ecommerce sites where dynamic pages are important, then LiteSpeed Cache + works well. This recommendation has already been given on the QUIC. cloud knowledge base article.

This case-study proves that.

Similar Posts

Leave a Reply

Your email address will not be published.