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
|
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| PACKAGE.md | ||
| public_api.ts | ||