serwist
Version:
A Swiss Army knife for service workers.
16 lines • 583 B
TypeScript
import type { Serwist } from "../Serwist.js";
import type { SerwistPlugin } from "../types.js";
/**
* A plugin, designed to be used with PrecacheController, to translate URLs into
* the corresponding cache key, based on the current revision info.
*
* @private
*/
export declare class PrecacheCacheKeyPlugin implements SerwistPlugin {
private readonly _precacheController;
constructor({ precacheController }: {
precacheController: Serwist;
});
cacheKeyWillBeUsed: SerwistPlugin["cacheKeyWillBeUsed"];
}
//# sourceMappingURL=PrecacheCacheKeyPlugin.d.ts.map