mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
|
||
|---|---|---|
| .. | ||
| browser | ||
| dom | ||
| security | ||
| browser.ts | ||
| hydration.ts | ||
| platform-browser.externs.js | ||
| platform-browser.ts | ||
| private_export.ts | ||
| version.ts | ||