From 61408652521d4b9020fd54cd748d69d876fc03ee Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 31 Dec 2022 09:14:53 +0900 Subject: [PATCH] tweak max-age --- packages/backend/src/server/web/ClientServerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts index 7206653a4..7ef178403 100644 --- a/packages/backend/src/server/web/ClientServerService.ts +++ b/packages/backend/src/server/web/ClientServerService.ts @@ -228,7 +228,7 @@ export class ClientServerService { return; } - reply.header('Cache-Control', 'public, max-age=3600'); + reply.header('Cache-Control', 'public, max-age=86400'); const name = path.split('@')[0].replace('.webp', ''); const host = path.split('@')[1]?.replace('.webp', '');