feat: unified cache handler

This commit is contained in:
Huskydog9988
2025-05-07 22:13:22 -04:00
parent 1b11427300
commit 9adbc157ab
7 changed files with 86 additions and 34 deletions
+14
View File
@@ -48,6 +48,20 @@ export default defineNuxtConfig({
},
compressPublicAssets: true,
storage: {
appCache: {
driver: "lru-cache",
},
},
devStorage: {
appCache: {
// store cache on fs to handle dev server restarts
driver: "fs",
base: "./.data/appCache",
},
},
},
typescript: {