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: remove 3 sec SSR delay by enabling PreviewContextID listening only in browser #1455

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Jul 3, 2023

PR Type

[x] Other: SSR performance improvment

What Is the Current Behavior?

timer(3000) in PreviewContextID route listening resulted in a general 3 seconds rendering time for all SSR requests

What Is the New Behavior?

PreviewContextID is not used in SSR so it is only enabled for the browser/client mode

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#87452

…nly in browser

* PreviewContextID is not used in SSR so it should only be enabled for the browser/client mode
* `timer(3000)` resulted in a general 3 seconds rendering time for all SSR requests
@shauke shauke added this to the 4.2 milestone Jul 3, 2023
@shauke shauke self-assigned this Jul 3, 2023
@shauke shauke requested a review from Eisie96 July 3, 2023 16:41
@shauke shauke added the performance Performance improvements label Jul 3, 2023
@shauke shauke merged commit 65c8c9a into develop Jul 5, 2023
@shauke shauke deleted the bugfix/preview_ssr_performance branch July 5, 2023 06:14
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