-
- {formatTitle(book.title) || _('Untitled')}
+
+ {formatTitle(book.title).replace(/\u00A0/g, ' ') || _('Untitled')}
{formatAuthors(book.author, book.primaryLanguage) || _('Unknown')}
diff --git a/apps/readest-app/src/services/translators/cache.ts b/apps/readest-app/src/services/translators/cache.ts
index 76ebab75..f09cf0cb 100644
--- a/apps/readest-app/src/services/translators/cache.ts
+++ b/apps/readest-app/src/services/translators/cache.ts
@@ -545,14 +545,14 @@ export const initCache = async (
const {
preload = true,
preloadOptions = {
- maxAge: 7 * 24 * 60 * 60 * 1000,
- maxEntries: 1000,
+ maxAge: 30 * 24 * 60 * 60 * 1000,
+ maxEntries: 10000,
},
autoPrune = true,
pruneInterval = 60 * 60 * 1000,
pruneOptions = {
- maxAge: 30 * 24 * 60 * 60 * 1000,
- maxEntries: 10000,
+ maxAge: 90 * 24 * 60 * 60 * 1000,
+ maxEntries: 100000,
maxSizeInBytes: 10 * 1024 * 1024,
},
} = options;