Skip to content

Commit

Permalink
build(cache): attempt to fix caching headers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispymm committed Nov 28, 2024
1 parent 2fbc4fe commit 6db0074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/nginx-staging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ server {
}

location ~* \.(ico|jpg|jpeg|png|js|css|woff|woff2)$ {
etag off;
if_modified_since off;
add_header Cache-Control "public max-age=31536000 immutable"
}

Expand Down

0 comments on commit 6db0074

Please sign in to comment.