angular/packages/common/http
Alan Agius aff1512950 feat(http): allow HttpClient to cache requests (#49509)
This commit adds a new option for `provideHttpClient` called
`withHttpTransferCache()`. When this option is passed, requests done on the server are cached and reused during the  bootstrapping of the application in the browser thus avoiding duplicate requests and reducing load time.

This is the same as `TransferHttpCacheModule` in https://github.com/angular/universal/blob/main/modules/common/src/transfer_http.ts

PR Close #49509
2023-04-03 19:13:45 -07:00
..
src feat(http): allow HttpClient to cache requests (#49509) 2023-04-03 19:13:45 -07:00
test feat(http): allow HttpClient to cache requests (#49509) 2023-04-03 19:13:45 -07:00
testing refactor: update packages/common tests to work with ESM pipeline (#48521) 2022-12-19 19:50:42 +00:00
BUILD.bazel build: reformat BUILD files (#48181) 2022-11-22 21:22:34 +00:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts refactor(common): remove deprecated XhrFactory export from http entrypoint (#49251) 2023-03-01 12:33:03 -08:00