Skip to content

Cache "Select options" for type: select fields#2890

Merged
bobdenotter merged 2 commits intomasterfrom
cache-select-options
Oct 30, 2021
Merged

Cache "Select options" for type: select fields#2890
bobdenotter merged 2 commits intomasterfrom
cache-select-options

Conversation

@bobdenotter
Copy link
Copy Markdown
Member

Last one to be split off from #2853. Will probably also give merge conflicts, as they affect the same bit of code in ContentSaveSubscriber.

This speeds up the generation of "Select options" a lot, especially on databases with more than a few hundred items. It's what shows up under @bolt/_partials/fields/select.html.twig in the Profiler's Timeline.

Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Collaborator

@nestordedios nestordedios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bobdenotter bobdenotter merged commit 0a3d391 into master Oct 30, 2021
@bobdenotter bobdenotter deleted the cache-select-options branch October 30, 2021 13:56
@bobdenotter bobdenotter mentioned this pull request Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants