MCPcopy Create free account
hub / github.com/angular/angular / isNonCacheableRequest

Function isNonCacheableRequest

packages/common/http/src/transfer_cache.ts:373–375  ·  view source on GitHub ↗
(cache: RequestCache)

Source from the content-addressed store, hash-verified

371}
372
373function isNonCacheableRequest(cache: RequestCache): boolean {
374 return cache === 'no-cache' || cache === 'no-store';
375}
376
377function hasOutgoingCredentials(req: HttpRequest<unknown>): boolean {
378 const {withCredentials, credentials} = req;

Callers 1

canUseOrCacheRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected