perf: renderBaseでCache-Controlを300秒から30秒に
This commit is contained in:
parent
deed25a2ff
commit
f80bf1fb1c
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue