mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit reduces the property size in the http transfer cache to reduce the page payload.
Before
```html
<script id="ng-state" type="application/json">
{
"4155228514": {
"body": "....",
"headers": {},
"status": 200,
"statusText": "OK",
"url": "http://foo.com/assets/media.json",
"responseType": "json"
},
}
</script>
```
Now
```html
<script id="ng-state" type="application/json">
{
"4155228514": {
"b": "....",
"h": {},
"s": 200,
"st": "OK",
"u": "http://foo.com/assets/media.json",
"rt": "json"
},
}
</script>
```
PR Close #52347
|
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| client_spec.ts | ||
| context_spec.ts | ||
| fetch_spec.ts | ||
| headers_spec.ts | ||
| jsonp_mock.ts | ||
| jsonp_spec.ts | ||
| module_spec.ts | ||
| params_spec.ts | ||
| provider_spec.ts | ||
| request_spec.ts | ||
| response_spec.ts | ||
| transfer_cache_spec.ts | ||
| xhr_mock.ts | ||
| xhr_spec.ts | ||
| xsrf_spec.ts | ||