refactor: remove caching-related API endpoints and configurations, update preferences structure, and clean up unused services
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7m22s

This commit is contained in:
Julien Froidefond
2026-01-03 18:55:12 +01:00
parent acd26ea427
commit 512e9a480f
49 changed files with 244 additions and 4073 deletions

View File

@@ -69,8 +69,7 @@
"title": "Preferences",
"tabs": {
"display": "Display",
"connection": "Connection",
"cache": "Cache"
"connection": "Connection"
},
"display": {
"title": "Display Preferences",
@@ -106,31 +105,9 @@
"title": "Advanced Settings",
"description": "Configure advanced performance and reliability settings.",
"save": "Save settings",
"maxConcurrentRequests": {
"label": "Max Concurrent Requests",
"description": "Maximum number of simultaneous requests to Komga server (1-10)"
},
"prefetchCount": {
"label": "Reader Prefetch Count",
"description": "Number of pages to preload in the reader (0-20)"
},
"circuitBreaker": {
"title": "Circuit Breaker",
"description": "Automatic protection against server overload",
"threshold": {
"label": "Failure Threshold",
"description": "Number of consecutive failures before opening the circuit (1-20)"
},
"timeout": {
"label": "Request Timeout",
"description": "Maximum wait time for a request before considering it failed",
"unit": "milliseconds (1000ms = 1 second)"
},
"resetTimeout": {
"label": "Reset Timeout",
"description": "Time to wait before attempting to close the circuit",
"unit": "milliseconds (1000ms = 1 second)"
}
}
},
"error": {
@@ -159,75 +136,6 @@
"title": "Error saving configuration",
"message": "An error occurred while saving the configuration"
}
},
"cache": {
"title": "Cache Configuration",
"description": "Manage data caching settings.",
"mode": {
"label": "Cache mode",
"description": "Memory cache is faster but doesn't persist between restarts"
},
"size": {
"title": "Cache size",
"server": "Server cache",
"serviceWorker": "SW cache (total)",
"api": "API cache (data)",
"items": "{count} item(s)",
"loading": "Loading...",
"error": "Error loading"
},
"ttl": {
"default": "Default TTL (minutes)",
"home": "Home page TTL",
"libraries": "Libraries TTL",
"series": "Series TTL",
"books": "Books TTL",
"images": "Images TTL",
"imageCacheMaxAge": {
"label": "HTTP Image Cache Duration",
"description": "Duration for images to be cached in the browser",
"options": {
"noCache": "No cache (0s)",
"oneHour": "1 hour (3600s)",
"oneDay": "1 day (86400s)",
"oneWeek": "1 week (604800s)",
"oneMonth": "1 month (2592000s) - Recommended",
"oneYear": "1 year (31536000s)"
}
}
},
"buttons": {
"saveTTL": "Save TTL",
"clear": "Clear cache",
"clearing": "Clearing...",
"clearServiceWorker": "Clear service worker cache",
"clearingServiceWorker": "Clearing service worker cache...",
"flushImageCache": "Force reload images"
},
"messages": {
"ttlSaved": "TTL configuration saved successfully",
"cleared": "Server cache cleared successfully",
"serviceWorkerCleared": "Service worker cache cleared successfully",
"imageCacheFlushed": "Images will be reloaded - refresh the page"
},
"error": {
"title": "Error clearing cache",
"message": "An error occurred while clearing the cache",
"ttl": "Error saving TTL configuration",
"serviceWorkerMessage": "An error occurred while clearing the service worker cache"
},
"entries": {
"title": "Cache content preview",
"serverTitle": "Server cache preview",
"serviceWorkerTitle": "Service worker cache preview",
"loading": "Loading entries...",
"empty": "No entries in cache",
"expired": "Expired",
"daysRemaining": "{count} day(s) remaining",
"hoursRemaining": "{count} hour(s) remaining",
"minutesRemaining": "{count} minute(s) remaining",
"lessThanMinute": "Less than a minute"
}
}
},
"library": {
@@ -463,14 +371,6 @@
"PREFERENCES_UPDATE_ERROR": "Error updating preferences",
"PREFERENCES_CONTEXT_ERROR": "Preferences context error",
"CACHE_DELETE_ERROR": "Error deleting cache",
"CACHE_SAVE_ERROR": "Error saving cache",
"CACHE_LOAD_ERROR": "Error loading cache",
"CACHE_CLEAR_ERROR": "Error clearing cache",
"CACHE_MODE_FETCH_ERROR": "Error fetching cache mode",
"CACHE_MODE_UPDATE_ERROR": "Error updating cache mode",
"CACHE_INVALID_MODE": "Invalid cache mode",
"UI_TABS_TRIGGER_ERROR": "Error triggering tabs",
"UI_TABS_CONTENT_ERROR": "Error loading tabs content",