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

perf: disable rendering of view contexts by default #1650

Merged
merged 1 commit into from
May 8, 2024

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented May 2, 2024

  • commented out view context integration in HTML templates
  • providing an sample import file with the used view contexts for ICM
  • added documentation

PR Type

[x] Other: disabled for better performance

What Is the Current Behavior?

Up till now we render a set of view contexts throughout the PWAs category and product pages. This creates a lot of REST calls and decreases SSR rendering performance in an unnecessary way if this feature is not used.

What Is the New Behavior?

The view context integration is now commented out and no longer active. It needs to be actively enabled where wanted in a customer project or demo system.

Does this PR Introduce a Breaking Change?

[x] No - if view context rendering was not used

Other Information

AB#96291

@shauke shauke added the performance Performance improvements label May 2, 2024
@shauke shauke added this to the 5.2 milestone May 2, 2024
@shauke shauke self-assigned this May 2, 2024
@shauke shauke force-pushed the chore/disable_viewcontexts_by_default branch 3 times, most recently from 8fbd4ea to 6c3cf29 Compare May 3, 2024 07:34
* commented out view context integration in HTML templates
* providing an sample import file with the used view contexts for ICM
* added documentation
@shauke shauke force-pushed the chore/disable_viewcontexts_by_default branch from 6c3cf29 to 2aecf99 Compare May 7, 2024 16:32
@shauke shauke requested a review from andreassteinmann May 7, 2024 16:32
@shauke shauke merged commit 56c3869 into develop May 8, 2024
22 checks passed
@shauke shauke deleted the chore/disable_viewcontexts_by_default branch May 8, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants