mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 17:16:08 +02:00
Specify AP Cache-Control (#2735)
This commit is contained in:
@@ -78,6 +78,7 @@ export default async (ctx: Router.IRouterContext) => {
|
||||
// index page
|
||||
const rendered = renderOrderedCollection(partOf, user.followingCount, `${partOf}?page=true`, null);
|
||||
ctx.body = pack(rendered);
|
||||
ctx.set('Cache-Control', 'private, max-age=0, must-revalidate');
|
||||
setResponseType(ctx);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user