Files
ezbookkeeping/src/core/cache.ts
T

15 lines
369 B
TypeScript

export interface BrowserCacheStatistics {
readonly totalCacheSize: number;
readonly codeCacheSize: number;
readonly assetsCacheSize: number;
readonly mapCacheSize: number;
readonly othersCacheSize: number;
}
export interface SWMapCacheConfig {
enabled: boolean;
patterns: string[];
maxEntries: number;
maxAgeMilliseconds: number;
}