Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo 2023-02-09 17:03:21 +09:00
commit d465e85239
3 changed files with 10 additions and 2 deletions

View File

@ -8,6 +8,13 @@
You should also include the user name that made the change.
-->
## 13.x.x (unreleased)
### Improvements
- Server: UIのHTMLートなどの特別なページを除くのキャッシュ時間を15秒から300秒に
### Bugfixes
-
## 13.5.3 (2023/02/09)

View File

@ -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',

View File

@ -35,7 +35,8 @@ html
link(rel='prefetch' href='https://xn--931a.moe/assets/info.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/not-found.jpg')
link(rel='prefetch' href='https://xn--931a.moe/assets/error.jpg')
link(rel='stylesheet' href='/assets/tabler-icons/tabler-icons.min.css')
//- https://github.com/misskey-dev/misskey/issues/9842
link(rel='stylesheet' href='/assets/tabler-icons/tabler-icons.min.css?v2.2.0')
link(rel='modulepreload' href=`/vite/${clientEntry.file}`)
if !config.clientManifestExists