mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-08-10 03:27:34 +00:00
fix: add *.avif to Caddy static cache matcher
PageSpeed Insights flagged AVIF files as uncached because the @static matcher only included *.webp. Adding *.avif enables 1-year Cache-Control for all AVIF assets.
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ sync.koalastuff.net {
|
||||
# Static Caching for high-performance PageSpeed (1 year with validation)
|
||||
@static {
|
||||
file
|
||||
path *.ico *.css *.js *.png *.svg *.webp
|
||||
path *.ico *.css *.js *.png *.svg *.webp *.avif
|
||||
}
|
||||
header @static Cache-Control "public, max-age=31536000, must-revalidate"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user