Title: perf(http): provide means to optimize response parsing · Issue #2609 · angular/angular · GitHub
Open Graph Title: perf(http): provide means to optimize response parsing · Issue #2609 · angular/angular
X Title: perf(http): provide means to optimize response parsing · Issue #2609 · angular/angular
Description: Right now, the Response object lazily parses the response body, based on what "getter" method is called: json(), text(), etc. The json method will attempt to parse the body at the time the method is called, which can be expensive for lar...
Open Graph Description: Right now, the Response object lazily parses the response body, based on what "getter" method is called: json(), text(), etc. The json method will attempt to parse the body at the time the method i...
X Description: Right now, the Response object lazily parses the response body, based on what "getter" method is called: json(), text(), etc. The json method will attempt to parse the body at the time th...
Opengraph URL: https://github.com/angular/angular/issues/2609
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"perf(http): provide means to optimize response parsing","articleBody":"Right now, the `Response` object lazily parses the response body, based on what \"getter\" method is called: `json()`, `text()`, etc. The `json` method will attempt to parse the body at the time the method is called, which can be expensive for large requests. By allowing the response type to be declared ahead of time, `XMLHttpRequest` can perform the parsing on a separate thread before firing the `load` event.\n\nSupporting this would be easy, but some thought should be given to how this should affect the existing fetch-response-like \"getters\" design, and how that design may encourage less-performant behavior.\n\nCC: @IgorMinar \n","author":{"url":"https://github.com/jeffbcross","@type":"Person","name":"jeffbcross"},"datePublished":"2015-06-18T04:49:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2609/angular/issues/2609"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e15f01dc-c0be-363d-677e-27dca71d80f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCD2:69C38:195542F:23CB621:6A5FADA3 |
| html-safe-nonce | 609e722d7624c36f843b4118a63edcfe7d75214b146d0b556698c2f7e6f65004 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0QyOjY5QzM4OjE5NTU0MkY6MjNDQjYyMTo2QTVGQURBMyIsInZpc2l0b3JfaWQiOiI1NDIyMTAyNDg0NDY2MjQ5MTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fa4160c3531fdac0a80d38a5a0bf884af438a73a320a75f43d9e4740731cdda |
| hovercard-subject-tag | issue:89198667 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/2609/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b0bc849c30f78976fb61db135c96613e11736f0a99fb36934986ae3b0777f0f/angular/angular/issues/2609 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b0bc849c30f78976fb61db135c96613e11736f0a99fb36934986ae3b0777f0f/angular/angular/issues/2609 |
| og:image:alt | Right now, the Response object lazily parses the response body, based on what "getter" method is called: json(), text(), etc. The json method will attempt to parse the body at the time the method i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffbcross |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width