Skip to content

Commit 88c1902

Browse files
klpxthekiba
authored andcommitted
chore: cache json as well
1 parent 24b85f8 commit 88c1902

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/nginx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ http {
3131

3232
location / {
3333
try_files $uri $uri/ =404;
34+
add_header Cache-Control "public, max-age=180"; # 3 minutes
3435
}
3536

3637
location = / {

0 commit comments

Comments
 (0)