angular/packages/common/http/test
Alan Agius c5e30f1d79 perf(http): reduce data transfer when using HTTP caching (#52347)
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
2023-10-24 14:33:26 -07:00
..
BUILD.bazel build: migrate to node 18 (#51609) 2023-09-01 15:12:43 +00:00
client_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
context_spec.ts feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
fetch_spec.ts fix(http): use serializeBody to support JSON payload in FetchBackend (#50776) 2023-06-20 13:31:25 -07:00
headers_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
jsonp_mock.ts refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807) 2022-02-24 17:24:33 +00:00
jsonp_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
module_spec.ts refactor(common): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:16 -07:00
params_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
provider_spec.ts refactor(http): warn when HttpClient doesn't use fetch during SSR (#52037) 2023-10-05 16:52:41 -07:00
request_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
response_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
transfer_cache_spec.ts perf(http): reduce data transfer when using HTTP caching (#52347) 2023-10-24 14:33:26 -07:00
xhr_mock.ts fix(common): incorrect error type for XHR errors in TestRequest (#36082) 2021-11-19 21:26:52 +00:00
xhr_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00
xsrf_spec.ts test(core): clean up unnecessary nesting in old tests (#52239) 2023-10-19 09:26:15 -07:00