Dear Cloudflare community.
I have a problem that my WordPress and/or website don’t load. To be precise, some resources don’t load. Sometimes it’s JS and the website (or dashboard) keep loading for ~ 90 sec before timing out and returning 502 Error. Sometimes it’s just some images. And sometimes everything works perfectly. All of this happens without me changing ANYTHING.
Here’s the WordPress.org forum thread I opened: https://wordpress.org/support/topic/images-and-js-not-loading/
So, I turned to my web-hosting provider, SiteGround. They guaranteed me that the problem is not on their side but on Cloufdlare’s.
Here’s a part of reply I got:
I have been doing some tests and it appears that the issues occur only with the CSS Autominify setting enabled. After disabling it, I got results below 1 second when testing the site in GTmetrix: https://gtmetrix.com/reports/www.otterreviews.com/FTLPLL4C This indicates that your website(or a component of it) is not compatible with this feature and its CSS files should not be minified. In this case, I can suggest the following options: 1. Keep the CSS Minification setting in the Cloudflare tool disabled. 2. Examine your site components(plugins and theme) to find what part of it is not compatible with the CSS minification. After that, you can contact the script author to check the case further or just stop using it.
This morning, I even got a warning by Google Search Console: Server error (5xx)
Now, here I am with you guys
Here’s what I’ve tried so far (in various combinations).
Disabling all plugins and my theme
- Reinstalling wordpress
- Cleaning left-over files of old plugins with an optimizing plugin
- Changing all Cloudflare settings available to me (auto minify js, css, and html), Brotli, rocket loader, caching level, disabling all my page rules, SSL/TCL mode).
Some resources still don’t get loaded. Usually it’s JS, sometimes wp-admin, seldom images. All this affects my wp-dashboard loading. One second I’m effortlessly switching between ie. posts and pages, another seconds my wp-dashboard takes up to 90 seconds to load.
Here are some GTMetrix reports and their descriptions:
Resource didn’t load
Images not loading
Hope you can help.