alleyinteractive / wp-alleyvate

Defaults for WordPress sites by Alley.
GNU General Public License v2.0
19 stars 2 forks source link

[FEATURE] Disable Pre-loading for the Reusable Blocks (Synced Patterns) #91

Closed mslinnea closed 6 months ago

mslinnea commented 6 months ago

Description

WordPress pre-loads all Reusable Blocks (Synced Patterns) on the edit post screen, site editor, and widget screen. For sites with hundreds of blocks, this is a lot of processing overhead, as the_content and all other filters run on these blocks. Disabling this behavior make the editing experience faster and less fragile for sites with a large number of blocks.

Use Case

As a developer, I want to remove the preloading of blocks to increase performance on sites with a large number of blocks.

mslinnea commented 6 months ago

Feature added in https://github.com/alleyinteractive/wp-alleyvate/pull/92