I have several webpages hosted on a server under the umbrella of Cloudflare, but starting yesterday they take ages to load. 3 or more minutes even on a local environment (routed through cloudflare). When I disable Cloudflare’s proxy the loading speed of the disabled ones return to normal. I live in Spain and my server is located here as well, but I don’t see any disturbances in cloudflarestatus to justify the hit on the load speeds.
Can you provide two results from https://webpagetest.org/ - one with Cloudflare enabled, and one without? This will help us take a closer look at any performance issues you might be seeing.
With Cloudflare enabled, the connection between Cloudflare and your origin is timing out and returning a 522 for various render blocking resources, including https://www.sanjosegijon.com/wp-content/themes/salient-child/style.css?ver=16.3.0 and https://www.sanjosegijon.com/wp-content/cache/wpfc-minified/99gv40rd/bgrcw.css. These take ~20 seconds to timeout, which explains the slowness you see while loading, because they block the render until they load.
I would recommend taking a look at the 522 debug steps outlined in the following article to resolve this:
Once you fix this issue, your site should actually be faster, because your time to first byte with Cloudflare enabled is quicker.
The problem for me is that nothing changed in the last days to provoke this new behaviour and there is no problem with cloudflare disabled whatsoever, so I don’t know exactly what I have to change to the connection to be stable again (given that nothing is new or has changed)
I suspect something on your host has changed - perhaps some IPs being blocked that shouldn’t be.
If possible, could you provide a proxied and unproxied route? Perhaps bypass.example.com and example.com so we can test live with both Cloudflare enabled and disabled?
I tried, but I couldn’t find a way to disable the proxy by subdomain, as I would have to change the entire database of the website. Today, everything is working normally again, but the same thing happened the previous two days: it worked well at certain times and poorly at others. I’m still convinced it was a Cloudflare issue, but I have no way of further investigating it while everything is working correctly.
Thanks, @cherryjimbo, for your help.