summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index 4a2efbb..54927ff 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -65,6 +65,16 @@
   force = true
 
 [[headers]]
+  for = "/img/*"
+  [headers.values]
+    Cache-Control = "public, maxage=604800, stale-while-revalidate=600"
+
+[[headers]]
+  for = "/css/*"
+  [headers.values]
+    Cache-Control = "public, maxage=604800, stale-while-revalidate=600"
+
+[[headers]]
   for = "/*"
   [headers.values]
     Link = '''