You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
479 B
16 lines
479 B
2 years ago
|
import { Strategy } from 'workbox-strategies/Strategy.js';
|
||
|
import './_version.js';
|
||
|
export interface WarmStrategyCacheOptions {
|
||
|
urls: Array<string>;
|
||
|
strategy: Strategy;
|
||
|
}
|
||
|
/**
|
||
|
* @memberof workbox-recipes
|
||
|
|
||
|
* @param {Object} options
|
||
|
* @param {string[]} options.urls Paths to warm the strategy's cache with
|
||
|
* @param {Strategy} options.strategy Strategy to use
|
||
|
*/
|
||
|
declare function warmStrategyCache(options: WarmStrategyCacheOptions): void;
|
||
|
export { warmStrategyCache };
|