Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

cache static assets for 3 hours at least (#242)

Inianb818728a2fec
diff --git a/web/static/_headers b/web/static/_headers
new file mode 100644
index 00000000000..f1ccf365082
--- /dev/null
+++ b/web/static/_headers
@@ -0,0 +1,20 @@
+/*.css
+ Cache-Control: public, max-age=10800
+
+/*.js
+ Cache-Control: public, max-age=10800
+
+/*.png
+ Cache-Control: public, max-age=10800
+
+/*.jpg
+ Cache-Control: public, max-age=10800
+
+/*.svg
+ Cache-Control: public, max-age=10800
+
+/*.gif
+ Cache-Control: public, max-age=10800
+
+/*
+ X-Frame-Options: DENY
\ No newline at end of file