refactor: improve file explorer performance by pre-fetching on hover

This commit is contained in:
Nicolas Meienberger
2025-10-17 21:19:58 +02:00
parent c8fc5a1273
commit 269116c25e
3 changed files with 35 additions and 4 deletions

View File

@@ -131,5 +131,7 @@ export const volumeController = new Hono()
path: result.path,
} satisfies ListFilesResponseDto;
c.header("Cache-Control", "public, max-age=10, stale-while-revalidate=60");
return c.json(response, 200);
});