Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested blocks/layouts performance #6734

Open
mynameisfreedom opened this issue Oct 11, 2024 · 0 comments
Open

Nested blocks/layouts performance #6734

mynameisfreedom opened this issue Oct 11, 2024 · 0 comments

Comments

@mynameisfreedom
Copy link

Description
Generally, I am aware that nested blocks and structured fields are performance heavier, but I think this should be on the list for improvements.

For better performance, I rewrote all my blocks and dropped out all nested fields/bocks and structured fields, but I can't remove one thing.

The layout field "grid" doesn't have the possibility for a subgrid inside columns, so I created a block with a Layout field, to accomplish a subgrid. Although this works ok, it slows the panel very much. Panel page with Layout Builder now opens 5 times slower and saves a page 10+ times slower.

Expected behavior
It is understandable that nesting fields will be slower, but not to that extreme extent.

To reproduce

  1. Create a Layout field with fieldset of blocks
  2. Create a Block with a different Layout field to accomplish subgrid
  3. Add that block to the initial set of blocks of the main Layout field.

Your setup

Kirby Version
4.4.1

PHP version
8.3.8

Your system (please complete the following information)

  • Device: HP Omen
  • OS: Windows 11
  • Browser: Firefox Developer
  • Version: latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant