I noticed recently that our site is extremely slow on pages that have Google Maps included (for example the home page itself) and it also gives 522 errors sometimes on other pages.
I tried turning off plugins, purging cache but nothing helped. But when I turn off cache by turning on “Development Mode” everything works fine. Also, when I set the real IP of the server in my hosts file on my computer (so basically I bypass Cloudflare) it seems to work well too.
I attached an image about the issue and Pingdom sees it slow as well:
Can someone give me an advice on how to deal with this problem?
The site is: