mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This update modifies the transfer cache logic to prevent caching of HTTP requests that require authorization. To opt-out from this behaviour use the `includeRequestsWithAuthHeaders` option in `withHttpTransferCache`
BREAKING CHANGE: By default we now prevent caching of HTTP requests that require authorization . To opt-out from this behaviour use the `includeRequestsWithAuthHeaders` option in `withHttpTransferCache`.
Example:
```ts
withHttpTransferCache({
includeRequestsWithAuthHeaders: true,
})
```
Closes: #54745
PR Close #55034
|
||
|---|---|---|
| .. | ||
| backend.ts | ||
| client.ts | ||
| context.ts | ||
| errors.ts | ||
| fetch.ts | ||
| headers.ts | ||
| interceptor.ts | ||
| jsonp.ts | ||
| module.ts | ||
| params.ts | ||
| private_export.ts | ||
| provider.ts | ||
| request.ts | ||
| response.ts | ||
| transfer_cache.ts | ||
| xhr.ts | ||
| xsrf.ts | ||