mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 00:45:50 +02:00
Cache extra AP objects (#6349)
* Cache extra AP objects * Cache nodeinfo
This commit is contained in:
@@ -37,6 +37,6 @@ export default async (ctx: Router.RouterContext) => {
|
||||
);
|
||||
|
||||
ctx.body = renderActivity(rendered);
|
||||
ctx.set('Cache-Control', 'private, max-age=0, must-revalidate');
|
||||
ctx.set('Cache-Control', 'public, max-age=180');
|
||||
setResponseType(ctx);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user