Skip to content

Commit

Permalink
cache more files
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Nov 22, 2024
1 parent 54f14f9 commit 4a3189f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
# Disable Topics tracking if not enabled explicitly: https://github.com/jkarlin/topics
header ?Permissions-Policy "browsing-topics=()"
header /build/* Cache-Control "public, max-age=31536000, immutable"
header /bundles/easyadmin/* Cache-Control "public, max-age=31536000, immutable"
# Cache favicons, images and SVGs for a year
header /images/* Cache-Control "public, max-age=31536000, immutable"
header /*.ico Cache-Control "public, max-age=31536000, immutable"
header /*.png Cache-Control "public, max-age=31536000, immutable"
header /*.svg Cache-Control "public, max-age=31536000, immutable"

php_server
}

0 comments on commit 4a3189f

Please sign in to comment.