mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
feat: change default image cache size to 210MB
Increase default cache size from 50MB to 210MB for better offline experience
This commit is contained in:
@@ -148,7 +148,7 @@ export async function fetchArticleByNaddr(
|
||||
|
||||
// Cache cover image if enabled and present
|
||||
if (image && settings?.enableImageCache !== false) {
|
||||
const maxSize = settings?.imageCacheSizeMB ?? 50
|
||||
const maxSize = settings?.imageCacheSizeMB ?? 210
|
||||
cacheImage(image, maxSize).catch(err => {
|
||||
console.warn('Failed to cache article cover image:', err)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user