LiveAgent is very slow or not loading at all (Cloudflare)

In case your LiveAgent is very slow or not loading at all, one of the possible reasons might be your server setup - check if your server uses Cloudflare. If it does, Cloudflare is messing response data and also works with some kind of cache because of which the LiveAgent simply cannot work.
To fix the issue, create an exception for LiveAgent so Cloudflare is not used for it.

How to find out if Cloudflare is used

Either ask your server hosting support or try checking server requests with Google Chrome Developer tools, or Firebug for Firefox. The request header contains a server header - check it. If it says cloudflare-nginx. If it does, Cloudflare is used... Here is an example of how the request might look like:
  1. Cache-Control:
    no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  2. CF-RAY:
  3. Connection:
  4. Content-Encoding:
  5. Content-Type:
  6. Date:
    Fri, 11 Apr 2014 06:20:21 GMT
  7. Expires:
    26 Jun 1997 05:00:00 GMT
  8. Pragma:
  9. Server:
  10. Transfer-Encoding:
  11. Vary:
  12. X-Powered-By:
  13. X-Powered-By-Plesk: