René's URL Explorer Experiment


Title: angular.io app gets stuck in “loading document” state, likely due to client-server version skew · Issue #28114 · angular/angular · GitHub

Open Graph Title: angular.io app gets stuck in “loading document” state, likely due to client-server version skew · Issue #28114 · angular/angular

X Title: angular.io app gets stuck in “loading document” state, likely due to client-server version skew · Issue #28114 · angular/angular

Description: On several occasions in the past I’ve observed that if I have a long running angular.io app open in a tab, and after some time I come back to this tab and try to use it for another navigation within the app, the app responds with doc vie...

Open Graph Description: On several occasions in the past I’ve observed that if I have a long running angular.io app open in a tab, and after some time I come back to this tab and try to use it for another navigation withi...

X Description: On several occasions in the past I’ve observed that if I have a long running angular.io app open in a tab, and after some time I come back to this tab and try to use it for another navigation withi...

Opengraph URL: https://github.com/angular/angular/issues/28114

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"angular.io app gets stuck in “loading document” state, likely due to client-server version skew","articleBody":"On several occasions in the past I’ve observed that if I have a long running angular.io app open in a tab, and after some time I come back to this tab and try to use it for another navigation within the app, the app responds with doc viewer progress bar indicating the document is being loaded, but it never actually loads the doc and remains in this state forever. Reloading the page resolves the issue.\r\n\r\nWhen I was looking through the Google Analytics (GA) data today, I noticed that there was a spike in errors just after the holidays:\r\n\r\n![3e00d684-1fac-4168-b553-36246907cdf9](https://user-images.githubusercontent.com/216296/51087361-18375480-1707-11e9-9e94-ed1ee1652b35.jpeg)\r\n\r\n[Google Analytics report](https://analytics.google.com/analytics/web/?authuser=1#/my-reports/6kIX47hKQVWyoXNpJVIIaA/a8594346w94746691p98770826/_u.date00=20190105&_u.date01=20190112&1240-table.plotKeys=%5B%5D&1240-table.rowStart=0&1240-table.rowCount=50)\r\n\r\nNotice how the spike starts just around Jan 7 when most people got back from holidays, and relatively quickly things come back to normal within the next few days.\r\n\r\nIf we look into the error causes, you’ll see that the main root cause is failing to download certain JS chunks, mainly the “toc-module” chunk (there are some others if you go into the report and look at the long tail of errors,  but they are less common).\r\n\r\nThis makes me believe that the problem I observed in the past and this error spike after holidays are related.\r\n\r\nHere is my interpretation of the events:\r\n- many people were on angular.io before holidays and visited only the home page but not any api/guide doc (the toc-module case), and others visited other pages as well and their case is captured in the long tail of errors other than “toc-module”.\r\n- these people left their app open, then came back around Jan 7 and tried to use the app for a new navigation\r\n- in the meantime we deployed many new versions of angular.io, changing the fingeprints of chunks\r\n- when the new navigation occured in the long-running app, the app (webpack module loader) tried to download the chunk for the missing code (e.g. toc-module)\r\n- the server however no longer hosted that chunk because we redeployed angular.io with new versions since then and returned 404\r\n- it’s uncommon that we fail to load code in this way, so the app just paniced and got stuck in the “loading document” state.\r\n- user had to reload the page to recover and since reloading helped, people just shrug and moved on without reporting the problem...\r\n\r\n\r\nThere are at least three problems we need to fix:\r\n- [ ] the module loading errors should not cause the app to freak out, we should either display the snack bar telling the user that there was an error and they should try to reload, or we should consider reloading the page automatically (but ensure we don’t end up in an infinite loop of reloads if a reload doesn’t cause the app to recover)\r\n- [x] look into why “toc-module” fails so frequently and consider prefetching and caching it along with the main chunk\r\n- [ ] we should somehow deal with the client-server version skew (have service-worker cache all chunks lazily, host old chunk versions, etc)\r\n\r\n---\r\n_**UPDATE(2021-09-20):**_\r\n_See https://github.com/angular/angular/issues/28114#issuecomment-923122967 for an explanation of the problem._","author":{"url":"https://github.com/IgorMinar","@type":"Person","name":"IgorMinar"},"datePublished":"2019-01-13T15:45:19Z","url":"https://github.com/angular/angular/issues/28114"}

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:78009b9a-f961-5f44-ab62-601cab3f5320
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCF94:23CF06:14B2D33:1A81B68:6B011BC6
html-safe-nonce3568623d0de7d90262d0050afaaf324afe3860658b08292bcea4913595909de9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjk0OjIzQ0YwNjoxNEIyRDMzOjFBODFCNjg6NkIwMTFCQzYiLCJ2aXNpdG9yX2lkIjoiNzYzMjY2ODE1MTEwNDIxNjAwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb3971d6164b41ff6a1e88c02f010d67436fb0a1b35107ae14f708a273aaa98c0
hovercard-subject-tagissue:398669944
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/28114/issue_layout
twitter:imagehttps://opengraph.githubassets.com/44f8e37c6270160c64cb9fa176d6dda0e4948c7122c0d1a56951245f3781d8dd/angular/angular/issues/28114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44f8e37c6270160c64cb9fa176d6dda0e4948c7122c0d1a56951245f3781d8dd/angular/angular/issues/28114
og:image:altOn several occasions in the past I’ve observed that if I have a long running angular.io app open in a tab, and after some time I come back to this tab and try to use it for another navigation withi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameIgorMinar
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
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/issues/28114#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F28114
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%2Fissues%2F28114
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
Reloadhttps://github.com/angular/angular/issues/28114
Reloadhttps://github.com/angular/angular/issues/28114
Reloadhttps://github.com/angular/angular/issues/28114
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/28114
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/28114
angular.io app gets stuck in “loading document” state, likely due to client-server version skewhttps://github.com/angular/angular/issues/28114#top
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: needs more investigationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20needs%20more%20investigation%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
docs-infra-aio-apphttps://github.com/angular/angular/milestone/95
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Jan 13, 2019https://github.com/angular/angular/issues/28114#issue-398669944
https://user-images.githubusercontent.com/216296/51087361-18375480-1707-11e9-9e94-ed1ee1652b35.jpeg
Google Analytics reporthttps://analytics.google.com/analytics/web/?authuser=1#/my-reports/6kIX47hKQVWyoXNpJVIIaA/a8594346w94746691p98770826/_u.date00=20190105&_u.date01=20190112&1240-table.plotKeys=%5B%5D&1240-table.rowStart=0&1240-table.rowCount=50
#28114 (comment)https://github.com/angular/angular/issues/28114#issuecomment-923122967
Nexthttps://github.com/angular/angular/issues/28114?timeline_page=1
IgorMinarhttps://github.com/IgorMinar
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
comp: docs-infrahttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20docs-infra%22
on Jan 13, 2019https://github.com/angular/angular/issues/28114#event-2070584575
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jan 13, 2019https://github.com/angular/angular/issues/28114#event-2070584612
IgorMinarhttps://github.com/IgorMinar
Backloghttps://github.com/angular/angular/milestone/82
docs-infra-aio-apphttps://github.com/angular/angular/milestone/95
on Jan 13, 2019https://github.com/angular/angular/issues/28114#event-2070584704
https://github.com/fredsa
fredsahttps://github.com/fredsa
on Jan 13, 2019https://github.com/angular/angular/issues/28114#issuecomment-453853823
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Jan 13, 2019https://github.com/angular/angular/issues/28114#issuecomment-453855822
@IgorMinarhttps://github.com/IgorMinar
#28037https://github.com/angular/angular/pull/28037
https://github.com/manekinekko
manekinekkohttps://github.com/manekinekko
on Jan 14, 2019https://github.com/angular/angular/issues/28114#issuecomment-453911880
https://xlayers.apphttps://xlayers.app
https://github.com/Brandinga
Brandingahttps://github.com/Brandinga
on Jan 14, 2019https://github.com/angular/angular/issues/28114#issuecomment-454029018
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jan 14, 2019https://github.com/angular/angular/issues/28114#issuecomment-454046083
AppComponent's templatehttps://github.com/angular/angular/blob/da2880d7c495022405102f89b8c641b23516388d/aio/src/app/app.component.html#L69-L71
ngsw.jsonhttps://angular.io/ngsw.json
comments from Slackhttps://angular-team.slack.com/messages/C3W7RV9PE/convo/C3W7RV9PE-1545215682.060600/
https://github.com/juristr
juristrhttps://github.com/juristr
on Jan 14, 2019https://github.com/angular/angular/issues/28114#issuecomment-454099858
https://user-images.githubusercontent.com/542458/51130777-259b2e80-182e-11e9-8520-44fbb7be2da7.png
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jan 18, 2019https://github.com/angular/angular/issues/28114#issuecomment-455689710
#28243https://github.com/angular/angular/issues/28243
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Feb 8, 2019https://github.com/angular/angular/issues/28114#issuecomment-461740408
Yesterdayhttps://angular-team.slack.com/archives/C3W7RV9PE/p1549567339217600
@benleshhttps://github.com/benlesh
dylhunnhttps://github.com/dylhunn
on Oct 5, 2021https://github.com/angular/angular/issues/28114#event-5412107385
build(docs-infra): update Angular framework to version 12.2.8 (#43687)https://github.com/angular/angular/commit/087c37cc5ca1951e290c9c22e3d116dee829f2d9
#43687https://github.com/angular/angular/pull/43687
https://docs.github.com/articles/closing-issues-via-commit-messages
087c37chttps://github.com/angular/angular/commit/087c37cc5ca1951e290c9c22e3d116dee829f2d9
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Oct 27, 2021https://github.com/angular/angular/issues/28114#issuecomment-952987254
#43518https://github.com/angular/angular/pull/43518
#43687https://github.com/angular/angular/pull/43687
gkalpakhttps://github.com/gkalpak
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 27, 2021https://github.com/angular/angular/issues/28114#event-5527920325
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Oct 27, 2021https://github.com/angular/angular/issues/28114#issuecomment-952994083
@gkalpakhttps://github.com/gkalpak
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 9, 2021https://github.com/angular/angular/issues/28114#issuecomment-989996086
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 9, 2021https://github.com/angular/angular/issues/28114#event-5741944730
Serginhohttps://github.com/Serginho
on Jan 20, 2022https://github.com/angular/angular/issues/28114#event-5925979219
build(docs-infra): update Angular framework to version 12.2.8 (angula…https://github.com/TuLotero/angular/commit/fe23ebc0667393ddcfbbeb7cd4e3a26128fe36e8
angula…https://github.com/angular/angular/pull/43687
https://docs.github.com/articles/closing-issues-via-commit-messages
fe23ebchttps://github.com/TuLotero/angular/commit/fe23ebc0667393ddcfbbeb7cd4e3a26128fe36e8
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/28114
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/28114
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: service-workerIssues related to the @angular/service-worker packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20service-worker%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: needs more investigationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20needs%20more%20investigation%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
docs-infra-aio-appNo due datehttps://github.com/angular/angular/milestone/95
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.