Cloudflare Error 520, 522
Are you seeing either the 520 or 522 error from Cloudflare when clearing your cache, or updating content?
Do you also use the Query Monitor plugin?
There is a conflict between Query Monitor and Cloudflare which can result in these errors.
Disabling Query Monitor will resolve this problem.