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

Cache "related options" #2889

Merged
merged 2 commits into from
Oct 30, 2021
Merged

Cache "related options" #2889

merged 2 commits into from
Oct 30, 2021

Conversation

bobdenotter
Copy link
Member

Another one split off from #2853. Will probably give merge conflicts, as they affect the same bit of code in ContentSaveSubscriber, but that shouldn't be too hard to fix.

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

Copy link
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.

👍

@bobdenotter bobdenotter merged commit 638dac2 into master Oct 30, 2021
@bobdenotter bobdenotter deleted the cache-related-options branch October 30, 2021 13:56
@bobdenotter
Copy link
Member Author

Superseded by #2957

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