aboutsummaryrefslogtreecommitdiff
path: root/website/_headers
diff options
context:
space:
mode:
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