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

feat(@angular/ssr): add modulepreload for lazy-loaded routes #28919

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alan-agius4
Copy link
Collaborator

Enhance performance when using SSR by adding modulepreload links to lazy-loaded routes. This ensures that the required modules are preloaded in the background, improving the user experience and reducing the time to interactive.

Closes #26484

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Nov 21, 2024
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/ssr labels Nov 21, 2024
@alan-agius4 alan-agius4 force-pushed the preload-ssr branch 2 times, most recently from 95f2b19 to 9b4c01a Compare November 21, 2024 11:40
@alan-agius4 alan-agius4 force-pushed the preload-ssr branch 3 times, most recently from 6d62cb0 to be14f78 Compare November 21, 2024 12:05
Enhance performance when using SSR by adding `modulepreload` links to lazy-loaded routes. This ensures that the required modules are preloaded in the background, improving the user experience and reducing the time to interactive.

Closes angular#26484
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/ssr detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preload all js bundles required for a specific route
2 participants