serwist
Version:
A Swiss Army knife for service workers.
15 lines • 571 B
TypeScript
/**
* Matches an item in the cache, ignoring specific URL params. This is similar
* to the `ignoreSearch` option, but it allows you to ignore just specific
* params (while continuing to match on the others).
*
* @private
* @param cache
* @param request
* @param matchOptions
* @param ignoreParams
* @returns
*/
declare function cacheMatchIgnoreParams(cache: Cache, request: Request, ignoreParams: string[], matchOptions?: CacheQueryOptions): Promise<Response | undefined>;
export { cacheMatchIgnoreParams };
//# sourceMappingURL=cacheMatchIgnoreParams.d.ts.map