angular/packages/common
Alan Agius 8eacb6e4b9 feat(http): exclude caching for authenticated HTTP requests (#55034)
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
2024-04-19 06:25:22 -07:00
..
http feat(http): exclude caching for authenticated HTTP requests (#55034) 2024-04-19 06:25:22 -07:00
locales refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
src refactor(common): remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) 2024-04-17 08:00:01 +02:00
test test(common): update ImageKit low quality test (#55193) 2024-04-05 14:55:13 +00:00
testing refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
upgrade docs: redirect upgrade guide to aio (#55043) 2024-04-09 12:23:09 -07:00
BUILD.bazel refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00