I recently switched to Cloudflare Pro hoping to significantly improve my website’s performance. However, despite the switch, I’m still experiencing significant issues affecting my website’s performance. My website currently scores a performance rating of just 4 on Google’s PageSpeed Insights, which is far below the expected results.
A specific issue that keeps arising is the Largest Contentful Paint (LCP), which lags significantly behind the recommended benchmarks. I had hoped that the improvements provided by Cloudflare Pro, such as better caching and optimizations, would improve this, but it seems that these changes have had no effect.
Additionally, it appears that Cloudflare is not performing caching correctly. Normally, when I make changes, they are not immediately reflected due to caching, but now it seems that every change I make has an immediate impact, suggesting that effective caching is not taking place.
Here’s what I’ve tried so far:
Ensuring optimization of images and load times on the site itself.
Setting up Page Rules in Cloudflare to optimize caching.
Using the performance options within Cloudflare Pro.
I’m looking for advice or suggestions on how to address these issues. Is there something I might be overlooking or doing wrong? Has anyone else experienced similar issues and how were they resolved?
If you have configured Cloudflare to be caching your HTML, make sure first that it actually is doing that by inspecting the cf-cache-status HTTP response header:
If you haven’t set up caching of HTML yet, review this guide:
This doesn’t just apply to your HTML though, so you should also check to make sure everything you expect to be caches (at least all CSS, Javascript, Font files & Images) are also cached.
The nice thing about Pagespeed is that it tells you why you get a bad score.
Right now, it seems the biggest problem on your site seems to be Javascript execution time and idle time. Image loading is blocked by multiple seconds in which there is no network activity.
I’d definitely get rid of Recaptcha and would also recommend disabling WP-Rocket for testing. If that doesn’t help, you’ll need to improve your Wordpress installation. There’s just way too much stuff going on in the frontend.
WooCommerce knows to be a bit heavy for the origin host/server.
Nevertheless, you have approx. ~10MB (9.67MB) PNG image below the slider, which makes my Firefox stutter a bit when the text changes over the slider above (cannot load it as expected) - what I saw immediately without checking the Developer Tools (F12) → Network tab, here:
Kindly, reduce the size in the resolution and filesize (optimize at least via TinyPNG or some online service, or even via a Plugin for WordPress), despite you’re using Pro plan with the Polish and Mirage options enabled.
I have already tried this, but I am still facing the same issues. Also, I am certain that Cloudflare is not caching my website, because previously I had to manually purge the cache after making changes, but now changes are immediately visible on the website.
That’s what the Cloudflare Wordpress Plugin (APO) is for. It automatically purges the cache when you make changes, so this just means the plugin is working.
Have a look here, 2.3s JavaScript execution-time is just absolutely insane:
CF-Cache-Status MISS does not indicate that Cloudflare is not caching your website. When Cloudflare is not caching a request we usually see a CF-Cache-Status BYPASS or DYNAMIC instead. I would suggest taking a look at the document @simon initially shared with you to understand what the different values for CF-Cache-Status mean.