@angular/common/http

HttpTransferCacheOptions

Type Alias

Options to configure how TransferCache should be used to cache requests made via HttpClient.

type HttpTransferCacheOptions = {
includeHeaders?: string[];
filter?: (req: HttpRequest<unknown>) => boolean;
includePostRequests?: boolean;
includeRequestsWithAuthHeaders?: boolean;
}
Jump to details