feat: preload manifest for accurate offline caching
This commit is contained in:
1 parent
9fb4d182e2
commit
d1d43a5b57
6 files changed
+4683
-2
No files matched your search
@@ -395,11 +395,10 @@ export class OfflineManager {
|
||||
/**
|
||||
* Get cache usage statistics.
|
||||
*/
|
||||
static async getStats(): Promise<CacheStats> {
|
||||
static async getStats(): Promise<CacheStats> {
|
||||
const estimate = await DataCache.estimate();
|
||||
const cachedCount = await DataCache.count();
|
||||
|
||||
// Determine which languages and types are cached
|
||||
const cachedLanguages = new Set<string>();
|
||||
const cachedTypes = new Set<string>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user