mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 01:13:39 +10:00
feat: unified cache handler
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user