Bug #21903
openBlock editor loading painfully slowly
0%
Description
Since the Reclaim migration, the Block Editor loads painfully slowly. It seems to be problematic across all sites.
It seems like part of the problem might be that browsers aren't properly caching static assets. Loading the Block Editor requires hundreds of JS, CSS, image requests, and it seems like all of them are hitting the server.
Jeremy, would you see if you can reproduce the slowness and try to nail down some possible paths forward?
Updated by Jeremy Felt 3 days ago
I'm still digging at a couple scripts that seem to be causing a slowdown, but in the meantime, I think there's a Cloudflare config change that Reclaim can make.
All static assets should be cached via Cloudflare, ideally. Right now:
wp-includes/*
assets are cached through CFwp-content/mu-plugins/*
assets are cached through CFwp-content/themes/*
assets are cached through CF
wp-admin/*
assets are not cached through CFwp-content/plugins/*
assets are not cached through CF
I can't think of a reason why wp-admin
and wp-content/plugins
would not be cached, but there may be a conflict with another rule that causes the bypass. Cloudflare is responding with a DYNAMIC
status on these, which I believe means that it never intended to cache them rather than the cache is missing.
I'll follow up soon with a couple other things. :)