# Security headers for all routes /* X-Frame-Options: DENY X-Content-Type-Options: nosniff Referrer-Policy: no-referrer Permissions-Policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=() Strict-Transport-Security: max-age=31536000; includeSubDomains; preload Cross-Origin-Embedder-Policy: require-corp Cross-Origin-Opener-Policy: same-origin Cross-Origin-Resource-Policy: same-origin Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' https://fonts.googleapis.com; style-src-attr 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data: https://fonts.gstatic.com; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; frame-src https://gateway.meeza.eg/; connect-src 'self' https://ahmdelbaz28-bazspark.hf.space https://revit-rust.vercel.app __CSP_CONNECT_SRC__ # Static assets — aggressive caching (1 year, immutable) /assets/* Cache-Control: public, max-age=31536000, immutable # HTML — no cache (always fresh) /*.html Cache-Control: no-cache, must-revalidate # API routes — no cache /api/* Cache-Control: no-store, no-cache, must-revalidate, max-age=0