mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 08:14:12 +09:00
perf: renderBaseでCache-Controlを15秒から300秒に
This commit is contained in:
@ -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=15');
|
||||
reply.header('Cache-Control', 'public, max-age=300');
|
||||
return await reply.view('base', {
|
||||
img: meta.bannerUrl,
|
||||
title: meta.name ?? 'Misskey',
|
||||
|
Reference in New Issue
Block a user