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

Function isNonCacheableRequest

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

Source from the content-addressed store, hash-verified

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

Callers 1

canUseOrCacheRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected