diff --git a/CHANGELOG.md b/CHANGELOG.md index a02788b7ac..07aa761853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ You should also include the user name that made the change. ## 13.x.x (unreleased) ### Improvements -- Server: UIのHTML(ノートなどの特別なページを除く)のキャッシュ時間を15秒から300秒に +- Server: UIのHTML(ノートなどの特別なページを除く)のキャッシュ時間を15秒から30秒に ### Bugfixes - diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts index 46470246ef..c69ee33ea3 100644 --- a/packages/backend/src/server/web/ClientServerService.ts +++ b/packages/backend/src/server/web/ClientServerService.ts @@ -337,7 +337,7 @@ export class ClientServerService { const renderBase = async (reply: FastifyReply) => { const meta = await this.metaService.fetch(); - reply.header('Cache-Control', 'public, max-age=300'); + reply.header('Cache-Control', 'public, max-age=30'); return await reply.view('base', { img: meta.bannerUrl, title: meta.name ?? 'Misskey',