Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Cache hashed Space assets

Anand Baburajan735251a81f7f
diff --git a/web/apps/space/public/_headers b/web/apps/space/public/_headers
index e81d3d2303..d9d30f30f3 100644
--- a/web/apps/space/public/_headers
+++ b/web/apps/space/public/_headers
@@ -9,3 +9,7 @@
Referrer-Policy: no-referrer
Reporting-Endpoints: csp-endpoint="https://csp-reporter.ente.com"
Content-Security-Policy: default-src 'self'; img-src 'self' blob: data:; media-src 'self' blob: data:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self' blob:; manifest-src 'self'; child-src 'self' blob:; object-src 'none'; connect-src 'self' https://*.ente.com https://*.ente.io https://space-api.ente-dev.com data: blob: https://*.s3.eu-central-003.backblazeb2.com https://*.s3.eu-central-2.wasabisys.com; base-uri 'self'; frame-ancestors 'none'; form-action 'none'; report-uri https://csp-reporter.ente.com; report-to csp-endpoint;
+
+/_next/static/*
+ ! Cache-Control
+ Cache-Control: public, max-age=31536000, immutable