René's URL Explorer Experiment


Title: service-worker: configure response status codes to treat as failed/offline with freshness strategy · Issue #45954 · angular/angular · GitHub

Open Graph Title: service-worker: configure response status codes to treat as failed/offline with freshness strategy · Issue #45954 · angular/angular

X Title: service-worker: configure response status codes to treat as failed/offline with freshness strategy · Issue #45954 · angular/angular

Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Open Graph Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

X Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"service-worker: configure response status codes to treat as failed/offline with freshness strategy","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\nservice-worker\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\n\r\nExpected behaviour: freshness strategy should return to user fetching requested data only if request was successful.\r\nIf request is unsuccessful (has 500, 504 and other codes) it should return cached result instead of bad result. And bad result should not be cached at all.\r\n\r\nBut in reality:\r\n\r\nfreshness strategy return for user bad results.\r\n\r\nInterestingly, freshness strategy works as expected if web-server absolutely died (network error: connection refused). I mean, all configured in dataGroup requests begin to return from cache and web-application works despite dead backend. It is different with particular bad request (as I described above).\r\n\r\nPerformance strategy works as expected (it returns cached results firstly)\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\n_No response_\r\n\r\n### Please provide the exception or error you saw\r\n\r\n_No response_\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\nAngular CLI: 11.2.19\r\nNode: 14.8.2\r\nOS: darwin x64\r\n\r\nAngular: 11.2.14\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\nhttps://angular.io/guide/service-worker-config#datagroups\r\n\r\nhttps://stackoverflow.com/questions/69132411/angular-service-worker-return-cached-response-if-server-returns-error\r\n\r\n","author":{"url":"https://github.com/anton-marchenko","@type":"Person","name":"anton-marchenko"},"datePublished":"2022-05-11T13:38:13Z","url":"https://github.com/angular/angular/issues/45954"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:79943f28-2064-b6d6-9f27-5fee8c6f109b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD1FC:2C4BED:E094E7:11EA3C1:6B01078F
html-safe-nonce955d6b65333dc4c31b3d5ba936b4dbaf7d2e5a83d28fdb3c8ce0b6944d423cbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUZDOjJDNEJFRDpFMDk0RTc6MTFFQTNDMTo2QjAxMDc4RiIsInZpc2l0b3JfaWQiOiI0OTIzNzk5NzY0NjE0NTgwMTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd0a49d9f93222286d87d6230f7abab66a71fb6c9159ef9cfac016a41cee48fb6
hovercard-subject-tagrepository:24195339
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/issues/45954
twitter:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
og:image:altDeliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-cache
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/45954#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F45954
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%2F45954
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/45954
Reloadhttps://github.com/angular/angular/issues/45954
Reloadhttps://github.com/angular/angular/issues/45954
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/45954
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/45954
service-worker: configure response status codes to treat as failed/offline with freshness strategyhttps://github.com/angular/angular/issues/45954#top
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
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/anton-marchenko
anton-marchenkohttps://github.com/anton-marchenko
on May 11, 2022https://github.com/angular/angular/issues/45954#issue-1232657325
https://angular.io/guide/service-worker-config#datagroupshttps://angular.io/guide/service-worker-config#datagroups
https://stackoverflow.com/questions/69132411/angular-service-worker-return-cached-response-if-server-returns-errorhttps://stackoverflow.com/questions/69132411/angular-service-worker-return-cached-response-if-server-returns-error
anton-marchenkohttps://github.com/anton-marchenko
on May 11, 2022https://github.com/angular/angular/issues/45954#event-6590492703
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
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
on May 11, 2022https://github.com/angular/angular/issues/45954#event-6590530012
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on May 11, 2022https://github.com/angular/angular/issues/45954#event-6590530338
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on May 12, 2022https://github.com/angular/angular/issues/45954#issuecomment-1125059471
@anton-marchenkohttps://github.com/anton-marchenko
cacheOpaqueResponseshttps://angular.io/guide/service-worker-config#cacheopaqueresponses
gkalpakhttps://github.com/gkalpak
on May 12, 2022https://github.com/angular/angular/issues/45954#event-6598863728
gkalpakhttps://github.com/gkalpak
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
on May 12, 2022https://github.com/angular/angular/issues/45954#event-6598864652
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on May 12, 2022https://github.com/angular/angular/issues/45954#event-6598865089
angular-robothttps://github.com/apps/angular-robot
votes requiredhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22votes%20required%22
on May 13, 2022https://github.com/angular/angular/issues/45954#event-6606120293
https://github.com/apps/angular-robot
angular-robothttps://github.com/apps/angular-robot
on May 13, 2022https://github.com/angular/angular/issues/45954#issuecomment-1126099302
documentationhttps://github.com/angular/angular/blob/e29eb8abfbfdfb793e08ac88e14b7ba6d2ff2136/docs/GITHUB_PROCESS.md#feature-request-process
https://github.com/anton-marchenko
anton-marchenkohttps://github.com/anton-marchenko
on May 16, 2022https://github.com/angular/angular/issues/45954#issuecomment-1127290759
@gkalpakhttps://github.com/gkalpak
documentationhttps://github.com/angular/angular/blob/e29eb8abfbfdfb793e08ac88e14b7ba6d2ff2136/docs/GITHUB_PROCESS.md#feature-request-process
the topic posthttps://github.com/angular/angular/issues/45954#issue-1232657325
https://user-images.githubusercontent.com/45929621/168534997-50bb6efc-5760-43a9-9dfd-ed81c0474763.png
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on May 16, 2022https://github.com/angular/angular/issues/45954#issuecomment-1127592895
@anton-marchenkohttps://github.com/anton-marchenko
angular-robothttps://github.com/apps/angular-robot
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
votes requiredhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22votes%20required%22
on May 24, 2022https://github.com/angular/angular/issues/45954#event-6669500114
https://github.com/anton-marchenko
anton-marchenkohttps://github.com/anton-marchenko
on May 31, 2022https://github.com/angular/angular/issues/45954#issuecomment-1142022684
@gkalpakhttps://github.com/gkalpak
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on May 31, 2022https://github.com/angular/angular/issues/45954#issuecomment-1142250557
https://github.com/ameryousuf
ameryousufhttps://github.com/ameryousuf
on Dec 28, 2022https://github.com/angular/angular/issues/45954#issuecomment-1366815470
@gkalpakhttps://github.com/gkalpak
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Aug 29, 2025https://github.com/angular/angular/issues/45954#issuecomment-3236605989
#63364https://github.com/angular/angular/pull/63364
https://angular.dev/ecosystem/service-workershttps://angular.dev/ecosystem/service-workers
JeanMechehttps://github.com/JeanMeche
not plannedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Aug 29, 2025https://github.com/angular/angular/issues/45954#event-19409341138
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 29, 2025https://github.com/angular/angular/issues/45954#issuecomment-3344433936
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 29, 2025https://github.com/angular/angular/issues/45954#event-19971532843
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/45954
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/45954
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
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
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.