Skip to content

Commit

Permalink
cache-control
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed May 11, 2021
1 parent baa4cb3 commit e8cbc06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ file_server {
precompressed br
}
root * /usr/share/caddy

route /assets/* {
header Cache-Control "public, max-age=31536000, immutable"
}

0 comments on commit e8cbc06

Please sign in to comment.