Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Adding manifest to headers

Jake Archibalda0f1379febc7
diff --git a/_headers.ejs b/_headers.ejs
index 83682103..999e0982 100644
--- a/_headers.ejs
+++ b/_headers.ejs
@@ -9,6 +9,9 @@
/serviceworker.js
Cache-Control: no-cache
+/manifest.json
+ Cache-Control: must-revalidate, max-age=3600
+
# URLs in /assets do not include a hash and are mutable.
# But it isn't a big deal if the user gets an old version.
/assets/*