Keep search results with thumbnails until cleared in Settings; add stale-while-revalidate search and longer asset caching
This commit is contained in:
@@ -46,7 +46,7 @@ const THUMB_HOSTS = new Set([
|
||||
]);
|
||||
|
||||
// Thumbnails accumulate with every card ever scrolled past — keep it bounded.
|
||||
const THUMB_CACHE_MAX = 800;
|
||||
const THUMB_CACHE_MAX = 2500;
|
||||
function isVersionedShellCache(key) {
|
||||
return key.startsWith(SHELL_CACHE_PREFIX) && !UTILITY_CACHES.has(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user