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

[NodeBundle] Improve url helper by replacing full data load by specific lookup #2678

Merged
merged 1 commit into from Jun 25, 2020

Conversation

acrobat
Copy link
Member

@acrobat acrobat commented May 17, 2020

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets

Previously the urlHelper class would load all node translations and all media items before replacing urls. This is unnecessary and would load large amounts of data for large websites. With this setup we do the lookup more efficient by only executing a query to the db for the requested nodetranslations/media objects.

@acrobat acrobat added this to the 5.6.0 milestone May 17, 2020
Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

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

Hi @, your PR passed all our requirements.

Thank you for contributing!

@acrobat acrobat merged commit 2578189 into Kunstmaan:master Jun 25, 2020
@acrobat acrobat deleted the improve-url-helper branch June 25, 2020 11:25
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.

None yet

3 participants