Specify AP Cache-Control (#2735)

This commit is contained in:
MeiMei
2018-09-19 07:17:19 +09:00
committed by syuilo
parent 609d68933e
commit 8414db57f0
5 changed files with 9 additions and 0 deletions

View File

@@ -34,5 +34,6 @@ export default async (ctx: Router.IRouterContext) => {
);
ctx.body = pack(rendered);
ctx.set('Cache-Control', 'private, max-age=0, must-revalidate');
setResponseType(ctx);
};