feat: complete brand icon and static caching
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s

This commit is contained in:
ik
2026-09-07 16:59:44 +07:00
parent 486016d977
commit 3529b6a1c8
10 changed files with 42 additions and 9 deletions
+9
View File
@@ -6,6 +6,15 @@
{$SITE_DOMAIN} {
encode zstd gzip
@immutable path /_astro/*
header @immutable Cache-Control "public, max-age=31536000, immutable"
@brandAssets path /favicon.svg /favicon-32.png /apple-touch-icon.png /icon-192.png /icon-512.png /og-rf4spotter.png
header @brandAssets Cache-Control "public, max-age=86400, stale-while-revalidate=604800"
@manifest path /site.webmanifest
header @manifest Cache-Control "public, max-age=3600"
@admin path /admin/*
handle @admin {
basic_auth {