Every time I set up Cloudflare, I only have a problem with the homepage. I have no problem with the other pages.
To see the page correctly I must always refresh once.
Could it be a cache problem?
Screenshots are attached.
Without Cloudflare I don’t have the problem.
Can you help me?
I was able to replicate this, but repeat visits through the same Cloudflare Datacenter show the page correctly, so I couldn’t troubleshoot. I didn’t have my browser’s Dev Tools open the first time to see where the error was.
It looks like a theme or plugin file didn’t load quickly enough to render the page, but once that file is cached, the page renders correctly.
Maybe the next person who checks this will have their Dev Tools open to look for errors the first time around. I tried my Tor VPN, but got a cookie check, then hCaptcha and gave up.
You might need to check the settings inside Plesk, looks like it relies on the “cache-control” request headers to actually serve a proper webpage. When there’s “cache-control” header in HTTP request, the value of “x-cache-status” header in HTTP response will become BYPASS instead of HIT (Note: not cf-cache-status header)
I’m not sure what caused this, but you may start to troubleshoot from this information given.