Skip to content

Commit

Permalink
perf: add Cache-Control header for assets
Browse files Browse the repository at this point in the history
closes #1154
  • Loading branch information
ankush committed Jan 17, 2024
1 parent 20ccfdf commit 8d3270e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bench/config/templates/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ server {

location /assets {
try_files $uri =404;
add_header Cache-Control "max-age=31536000";
}

location ~ ^/protected/(.*) {
Expand Down

0 comments on commit 8d3270e

Please sign in to comment.