feat: complete brand icon and static caching
This commit is contained in:
1 parent
486016d977
commit
3529b6a1c8
10 files changed
+42
-9
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user