A blank page holding for several seconds if Cloudflare enabled

Viewed 14

Recently I fully use the Cloudflare CDN for my domain. I point my namesever to Cloudflare and enable it with SSL/TLS encryption in Full mode. I found there is a blank page when I start loading the page and then all contents show up immediately. It let some visitors think there is a problem when loading the page in the first few seconds of time. I do the speed testing and get the result as the attached screenshot. Do anyone can help to explain what the meaning for this testing and how can I minimize the time before the visitors to my website see content in 2.2 seconds? Does this 2.2 seconds be the reason of the blank page loading time? How can I improve it?

enter image description here

1 Answers

Without knowing the exact domain, a number of things can be at play.

  1. Long First Byte Times - If the first byte time of a server is long, users will be seeing the white screen for a while.

  2. Poor JavaScript Integration - JavaScript can manipulate the DOM and block images, and other things from loading.

  3. Lots of synchronous requests - Even with HTTP2 the browser can only make so many requests in parallel. If there are lots of images, css, and js requests, then the page would appear white while those load.

Providing the precise URL could help shed light on what the problem is.

Related