René's URL Explorer Experiment


Title: HttpTransferCache collapses distinct binary POST bodies into the same cache key · Issue #70226 · angular/angular · GitHub

Open Graph Title: HttpTransferCache collapses distinct binary POST bodies into the same cache key · Issue #70226 · angular/angular

X Title: HttpTransferCache collapses distinct binary POST bodies into the same cache key · Issue #70226 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? common / http Is this a regression? No Description With POST requests enabled in HttpTransferCache, two requests with different binary bodies can end up sharing one cache entry. This...

Open Graph Description: Which @angular/* package(s) are the source of the bug? common / http Is this a regression? No Description With POST requests enabled in HttpTransferCache, two requests with different binary bodies ...

X Description: Which @angular/* package(s) are the source of the bug? common / http Is this a regression? No Description With POST requests enabled in HttpTransferCache, two requests with different binary bodies ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HttpTransferCache collapses distinct binary POST bodies into the same cache key","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncommon / http\n\n### Is this a regression?\n\nNo\n\n### Description\n\nWith POST requests enabled in `HttpTransferCache`, two requests with different binary bodies can end up sharing one cache entry. This matters for valid POST-based APIs such as Protobuf and gRPC, where the request body carries the input. The same cache-key rule also applies to other POST APIs, including GraphQL requests.\n\nI reproduced this with two read-only Protobuf requests to the same URL. The bodies are valid, but different:\n\n```text\ndocument 100: 0864    document 200: 08c801\n```\n\nAngular should treat these as separate requests and cache their responses separately. Instead, the request for document `200` gets the cached response for document `100`; it never reaches the origin.\n\n```ts\nelse if (typeof serializedBody !== 'string') {\n  serializedBody = '';\n}\n```\n\n`HttpRequest.serializeBody()` returns a `Blob` as-is. Because a `Blob` is not a string, `makeCacheKey()` turns it into `''`. That means both Protobuf payloads have the same cache-key input before hashing. \n\n ### Please provide a link to a minimal reproduction of the bug\n See Repository: https://github.com/SkyZeroZx/angular-protobuf-transfercache-poc","author":{"url":"https://github.com/SkyZeroZx","@type":"Person","name":"SkyZeroZx"},"datePublished":"2026-08-16T21:05:47Z","url":"https://github.com/angular/angular/issues/70226"}

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:a21e46d7-c31a-7976-8015-24c53a585ee5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8928:313081:FF7618:1518F63:6B01D8F4
html-safe-nonce301e178ba8af86d4bc4dd4c5488181c56be970ae06701d34b52cf37e8100e69b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTI4OjMxMzA4MTpGRjc2MTg6MTUxOEY2Mzo2QjAxRDhGNCIsInZpc2l0b3JfaWQiOiI2MTc1MTQ5MDMwNDQ4OTQ1Mzk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6b14c0509d3eb232ad6abe087da8b5d4d174d2a07b2f86d21d20fd816e04e71a
hovercard-subject-tagissue:5166374326
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/70226/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e37c421127becafcd73702eb737d40784631a1a5c290871da1ff914fd92ff558/angular/angular/issues/70226
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e37c421127becafcd73702eb737d40784631a1a5c290871da1ff914fd92ff558/angular/angular/issues/70226
og:image:altWhich @angular/* package(s) are the source of the bug? common / http Is this a regression? No Description With POST requests enabled in HttpTransferCache, two requests with different binary bodies ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSkyZeroZx
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/70226#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F70226
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%2F70226
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/70226
Reloadhttps://github.com/angular/angular/issues/70226
Reloadhttps://github.com/angular/angular/issues/70226
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests142 (142)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/70226
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/70226
#70227https://github.com/angular/angular/pull/70227
HttpTransferCache collapses distinct binary POST bodies into the same cache keyhttps://github.com/angular/angular/issues/70226#top
#70227https://github.com/angular/angular/pull/70227
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/SkyZeroZx
SkyZeroZxhttps://github.com/SkyZeroZx
on Aug 16, 2026https://github.com/angular/angular/issues/70226#issue-5166374326
https://github.com/SkyZeroZx/angular-protobuf-transfercache-pochttps://github.com/SkyZeroZx/angular-protobuf-transfercache-poc
angular-robothttps://github.com/apps/angular-robot
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Aug 16, 2026https://github.com/angular/angular/issues/70226#event-29532328416
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Aug 16, 2026https://github.com/angular/angular/issues/70226#event-29532328942
SkyZeroZxhttps://github.com/SkyZeroZx
on Aug 16, 2026https://github.com/angular/angular/issues/70226#event-29532363777
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/b9767797082ad2a7804c5a6c4ca6c7ebc362b5c0
https://docs.github.com/articles/closing-issues-via-commit-messages
b976779https://github.com/SkyZeroZx/angular/commit/b9767797082ad2a7804c5a6c4ca6c7ebc362b5c0
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/52eab8e2c69f0062b35b2c41526c9365cb25777a
https://docs.github.com/articles/closing-issues-via-commit-messages
52eab8ehttps://github.com/SkyZeroZx/angular/commit/52eab8e2c69f0062b35b2c41526c9365cb25777a
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/d7f932de04ee536405c7fc949e3765ea8145f515
https://docs.github.com/articles/closing-issues-via-commit-messages
d7f932dhttps://github.com/SkyZeroZx/angular/commit/d7f932de04ee536405c7fc949e3765ea8145f515
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/bc039fb9603ae203f311e15547f37a446755dd02
https://docs.github.com/articles/closing-issues-via-commit-messages
bc039fbhttps://github.com/SkyZeroZx/angular/commit/bc039fb9603ae203f311e15547f37a446755dd02
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/8ee9f48f1d0be6ffd2f19301d703978fa1045a34
https://docs.github.com/articles/closing-issues-via-commit-messages
8ee9f48https://github.com/SkyZeroZx/angular/commit/8ee9f48f1d0be6ffd2f19301d703978fa1045a34
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/4f4bc43ece7177230a666b11e315b54ab9ac7596
https://docs.github.com/articles/closing-issues-via-commit-messages
4f4bc43https://github.com/SkyZeroZx/angular/commit/4f4bc43ece7177230a666b11e315b54ab9ac7596
SkyZeroZxhttps://github.com/SkyZeroZx
on Oct 20, 2026https://github.com/angular/angular/issues/70226#event-33759272045
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/9d58d30b85f884ca2bded0a71ad7095c3e289399
https://docs.github.com/articles/closing-issues-via-commit-messages
9d58d30https://github.com/SkyZeroZx/angular/commit/9d58d30b85f884ca2bded0a71ad7095c3e289399
JeanMechehttps://github.com/JeanMeche
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Oct 29, 2026https://github.com/angular/angular/issues/70226#event-34632152974
JeanMechehttps://github.com/JeanMeche
HttpTransferCache stores an empty 0-byte Blob when caching responseType: 'blob' during SSR #71917https://github.com/angular/angular/issues/71917
on Nov 10, 2026https://github.com/angular/angular/issues/70226#event-35695925081
JeanMechehttps://github.com/JeanMeche
HttpTransferCache stores an empty 0-byte Blob when caching responseType: 'blob' during SSR #71917https://github.com/angular/angular/issues/71917
on Nov 10, 2026https://github.com/angular/angular/issues/70226#event-35697185952
SkyZeroZxhttps://github.com/SkyZeroZx
on Nov 11, 2026https://github.com/angular/angular/issues/70226#event-35842429036
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/a7d4222bcafcc167aed4465a46b2d722c7343f16
https://docs.github.com/articles/closing-issues-via-commit-messages
a7d4222https://github.com/SkyZeroZx/angular/commit/a7d4222bcafcc167aed4465a46b2d722c7343f16
JeanMechehttps://github.com/JeanMeche
HTTP transfer cache: QUERY/POST requests with different binary bodies share one cache key #72026https://github.com/angular/angular/issues/72026
on Nov 13, 2026https://github.com/angular/angular/issues/70226#event-36025804820
SkyZeroZxhttps://github.com/SkyZeroZx
on Nov 13, 2026https://github.com/angular/angular/issues/70226#event-36081477194
fix(http): distinguish binary transfer cache request bodieshttps://github.com/SkyZeroZx/angular/commit/0268e55a0dafdc260d3eb93caadce097fa5494e8
https://docs.github.com/articles/closing-issues-via-commit-messages
0268e55https://github.com/SkyZeroZx/angular/commit/0268e55a0dafdc260d3eb93caadce097fa5494e8
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/70226
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/70226
area: common/httpIssues related to HTTP and HTTP Clienthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%2Fhttp%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.