René's URL Explorer Experiment


Title: Allow index.preloadInitial to preload the full static closure of the initial bundle (number or "all") · Issue #34396 · angular/angular-cli · GitHub

Open Graph Title: Allow index.preloadInitial to preload the full static closure of the initial bundle (number or "all") · Issue #34396 · angular/angular-cli

X Title: Allow index.preloadInitial to preload the full static closure of the initial bundle (number or "all") · Issue #34396 · angular/angular-cli

Description: Command build Description #27581 limited modulepreload hints to a shallow set of 10 initial chunks, as a safe default for all applications (#27490). For an application with a deep initial import graph that default costs one network round...

Open Graph Description: Command build Description #27581 limited modulepreload hints to a shallow set of 10 initial chunks, as a safe default for all applications (#27490). For an application with a deep initial import gr...

X Description: Command build Description #27581 limited modulepreload hints to a shallow set of 10 initial chunks, as a safe default for all applications (#27490). For an application with a deep initial import gr...

Opengraph URL: https://github.com/angular/angular-cli/issues/34396

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow index.preloadInitial to preload the full static closure of the initial bundle (number or \"all\")","articleBody":"### Command\n\nbuild\n\n### Description\n\n#27581 limited modulepreload hints to a shallow set of 10 initial chunks, as a safe default for all applications (#27490). For an application with a deep initial import graph that default costs one network round trip per depth level: the browser only discovers the chunks at depth N after the chunks at depth N-1 have arrived and been parsed.\n\nOur `main` has a static closure of 45 chunks across six depth levels. We post-process `index.html` after `ng build` to preload all of them. Measured in production RUM over three weeks (roughly a million initial loads per week), weekdays before versus after:\n\n| Segment | LCP p75 before | LCP p75 after |\n| --- | --- | --- |\n| all initial loads | 2.00 s | 1.84 s |\n| effective connection type 4g, desktop | 2.07 s | 1.91 s |\n| effective connection type 3g, desktop | 7.0 s | 5.3 s |\n| effective connection type 2g, desktop | 22.8 s | 14.7 s |\n\nThe slowest connections gained the most, which is the opposite of what the HTTP Archive correlation cited in #27490 would predict. That correlation covers preloads of any resource. Chunks in the entry point's static closure are all required before the application can execute at all, so preloading them does not compete with anything more critical than the stylesheet.\n\n### Describe the solution you'd like\n\nLet `index.preloadInitial` accept a number or `\"all\"` in addition to the current boolean, keeping `true` as today's shallow-10 behaviour. That would let us delete a post-build script that has to track the CLI's `index.html` output, and which broke on the `integrity` attributes added in 22.x.\n\n### Describe alternatives you've considered\n\nPost-processing `index.html` (what we do now); setting `preloadInitial: false` and writing every hint ourselves (same fragility); eager-loading the landing route into the main bundle (adds 330 KB gzipped to every first load for the 70% of visits that land elsewhere).\n","author":{"url":"https://github.com/bgpedersen","@type":"Person","name":"bgpedersen"},"datePublished":"2026-10-19T08:22:02Z","url":"https://github.com/angular/angular-cli/issues/34396"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a81be297-7525-0d64-c1b8-eee0ee5b0591
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE5E2:2E9831:1071264:15C2743:6B01DE44
html-safe-noncedff31683d0ca5156844bcfa470d1b57e66928145190fdafded65194a9d2b69f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUUyOjJFOTgzMToxMDcxMjY0OjE1QzI3NDM6NkIwMURFNDQiLCJ2aXNpdG9yX2lkIjoiMjEwNDM5MTkxMjIwMjAzNDc1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4fa6332d3d48452dae64f85d7dadfa6caec7a5b24637da6a6d0e1f8049ec1ef4
hovercard-subject-tagissue:5920389615
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/34396/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ed11dbc7ae5333e4ecd1594f52c4af67f0723741c6b82cd64110da51b543890e/angular/angular-cli/issues/34396
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ed11dbc7ae5333e4ecd1594f52c4af67f0723741c6b82cd64110da51b543890e/angular/angular-cli/issues/34396
og:image:altCommand build Description #27581 limited modulepreload hints to a shallow set of 10 initial chunks, as a safe default for all applications (#27490). For an application with a deep initial import gr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebgpedersen
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/34396#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F34396
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F34396
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/34396
Reloadhttps://github.com/angular/angular-cli/issues/34396
Reloadhttps://github.com/angular/angular-cli/issues/34396
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/34396
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/34396
Allow index.preloadInitial to preload the full static closure of the initial bundle (number or "all")https://github.com/angular/angular-cli/issues/34396#top
area: @angular/buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fbuild%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/bgpedersen
bgpedersenhttps://github.com/bgpedersen
on Oct 19, 2026https://github.com/angular/angular-cli/issues/34396#issue-5920389615
#27581https://github.com/angular/angular-cli/pull/27581
#27490https://github.com/angular/angular-cli/issues/27490
#27490https://github.com/angular/angular-cli/issues/27490
angular-robothttps://github.com/apps/angular-robot
area: @angular/buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fbuild%22
on Oct 19, 2026https://github.com/angular/angular-cli/issues/34396#event-33624135995
angular-robothttps://github.com/apps/angular-robot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Oct 19, 2026https://github.com/angular/angular-cli/issues/34396#event-33624138324
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/34396
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/34396
area: @angular/buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular%2Fbuild%22
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.