angular/packages/common/http
Alan Agius 81e7d15ef6 feat(platform-browser): enable HTTP request caching when using provideClientHydration (#49699)
This commit adds support by default for HTTP caching when using `provideClientHydration`. Users can opt-out of this behaviour by using the `withoutHttpTransferCache` feature.

```ts
import {
  bootstrapApplication,
  provideClientHydration,
  withNoHttpTransferCache,
} from '@angular/platform-browser';
// ...
bootstrapApplication(RootCmp, {
  providers: [provideClientHydration(withNoHttpTransferCache())]
});
```

PR Close #49699
2023-04-04 15:04:03 -07:00
..
src feat(http): allow HttpClient to cache requests (#49509) 2023-04-03 19:13:45 -07:00
test feat(platform-browser): enable HTTP request caching when using provideClientHydration (#49699) 2023-04-04 15:04:03 -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 feat(platform-browser): enable HTTP request caching when using provideClientHydration (#49699) 2023-04-04 15:04:03 -07:00