Project

General

Profile

Actions

Bug #21903

open

Block editor loading painfully slowly

Added by Boone Gorges 16 days ago. Updated 2 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2025-01-28
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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?

Actions #1

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 CF
  • wp-content/mu-plugins/* assets are cached through CF
  • wp-content/themes/* assets are cached through CF
And
  • wp-admin/* assets are not cached through CF
  • wp-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. :)

Actions #2

Updated by Boone Gorges 2 days ago

  • Target version changed from 2.5.2 to 2.5.3
Actions

Also available in: Atom PDF