aboutsummaryrefslogtreecommitdiff
path: root/website/_headers
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-08-23 03:44:29 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-08-23 03:44:56 +0300
commitd6dae88345d24b8e468f63faad6a09173d2cbeac (patch)
tree8e8912d1f6c784a09ce6a4fd450378ca60f9ced7 /website/_headers
parent2bbb7c9172dafe3d77be970767e22dbd7c53c960 (diff)
fix: serve a google-eligible favicon
Diffstat (limited to 'website/_headers')
-rw-r--r--website/_headers9
1 files changed, 9 insertions, 0 deletions
diff --git a/website/_headers b/website/_headers
index 6422cca9..47081953 100644
--- a/website/_headers
+++ b/website/_headers
@@ -6,6 +6,15 @@
/assets/*
Cache-Control: public, max-age=604800, immutable
+# Icon URLs stay stable for Google's favicon crawler, so they can't be
+# cache-busted with a query; keep them out of the immutable asset rule.
+/assets/favicon.png
+ Cache-Control: public, max-age=86400
+
+/favicon.ico
+ Content-Type: image/x-icon
+ Cache-Control: public, max-age=86400
+
/install.sh
Content-Type: text/plain
Content-Disposition: inline