summaryrefslogtreecommitdiffhomepage
path: root/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts
index 664a057..3717eb7 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,6 +1,10 @@
import { mount } from 'svelte'
import './app.css'
import App from './App.svelte'
+import { imageCache } from './lib/cache'
+
+// Prune expired cache entries on startup (fire-and-forget)
+void imageCache.pruneExpired();
const app = mount(App, {
target: document.getElementById('app')!,