Intermittently poor throughput on static asset requests in Cloudflare Pages

I’ve noticed that a website I have deployed via Cloudflare Pages is intermittently very slow to load. When this happens, static files which are only 90-70 kB take 10s of seconds.

Because the issue happens intermittently and infrequently, it’s very difficult to debug, but it seems to be location-specific. I just had a user tell me that the affected page wasn’t loading for them in Midwestern America, but as they were experiencing the issue, I was able to load the page Sydney without any problems.

I don’t believe this is a caching issue. With caching deliberately disabled in my browser, the page will load in a reasonable amount of time when the issue isn’t occurring, but will be glacially slow when it is occurring.

Can you try and get some more info?

What’d be really helpful is:

Thanks for the quick reply! Though the issue isn’t happening right now, I collected the /cdn-cgi/trace and traceroute output in Sydney because I figured there might be some value in comparing them when the issue is and isn’t happening:

uag=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36
traceroute to (, 30 hops max, 60 byte packets
 1  _gateway (  0.933 ms  1.725 ms  1.925 ms
 2  * * *
 3 (  40.490 ms  40.787 ms  41.608 ms
 4  * * *
 5 (  41.411 ms (  41.460 ms (  41.412 ms
 6 (  31.000 ms  14.992 ms (  20.353 ms
 7 (  20.516 ms (  16.487 ms (  16.713 ms
 8  * * *
 9 (  18.382 ms (  19.402 ms (  19.620 ms
10 (  129.246 ms  138.658 ms  138.682 ms
11 (  16.820 ms  17.175 ms  14.994 ms
12 (  134.525 ms  145.869 ms (  130.946 ms
13 (  136.683 ms (  144.342 ms (  149.831 ms

I’ll post here again, likely in a few days, when the issue pops up again. I’ll be sure to include a HAR.

I am having the same issue (though a re-deploy fixed it). Essentially, small (60-80Kb) files were taking 30s to load. Unfortunately, the re-deployment happened before I can use your debug instructions. But thought of putting this here as it could be useful.

Other things to mention:

  • This is a preview branch.
  • The website was not used for probably a week or so.

@WalshyMVP Aha! It finally happened again! Here’s the HAR file:

In the HAR file, there’s an initial request to where the TTFB is about 38 seconds. Then there’s a couple other requests where the TTFB is acceptable-ish (~600 ms), but then one request times out and the other takes 2 minutes to download a 45 kB file from Cloudflare!

I captured this traceroute output as the issue was happening:

~ % traceroute
traceroute to (, 30 hops max, 60 byte packets
 1  _gateway (  1.118 ms  1.235 ms  1.407 ms
 2 (  26.346 ms  36.935 ms  35.290 ms
 3 (  33.525 ms  33.055 ms  33.636 ms
 4 (  36.734 ms (  36.694 ms  36.653 ms
 5  * * *
 6 (  35.232 ms  13.757 ms  14.895 ms
 7 (  184.000 ms  183.607 ms *
 8  * (  31.677 ms *
 9 (  164.782 ms  164.957 ms  169.584 ms
10 (  243.603 ms * *

Interestingly, I attempted to load the website in a few tabs at the same time. When one tab finally succeeded, they all suddenly loaded at a regular speed again. I don’t think my internet connection was the issue because I was able to load other websites as this was all happening.

Today’s slow-down happened a few hours after a I deployed a new version of the website. When the issue arose today, I was downloading the page for the first time after the deployment. It feels like the static content wasn’t cached on the edge server and fetching it took a very long time. I’m on the free plan, so I wonder if my page is just getting prioritised. Still, 2 minutes to load 45 kB seems too excessive to be deliberate.