Skip to content

Commit

Permalink
tweak max-age
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Dec 31, 2022
1 parent 51d8d2a commit 6140865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/web/ClientServerService.ts
Expand Up @@ -228,7 +228,7 @@ export class ClientServerService {
return;
}

reply.header('Cache-Control', 'public, max-age=3600');
reply.header('Cache-Control', 'public, max-age=86400');

const name = path.split('@')[0].replace('.webp', '');
const host = path.split('@')[1]?.replace('.webp', '');
Expand Down

0 comments on commit 6140865

Please sign in to comment.