From 43519505bc99d88b5ae50d12f208565dc5434fc0 Mon Sep 17 00:00:00 2001 From: Oliver Rasche Date: Thu, 24 Sep 2026 17:13:09 +0200 Subject: [PATCH] . --- public/_frontend/.htaccess | 54 ++++++++++++++++++------------------- public/_frontend/index.html | 6 ++--- public/_frontend/vite.svg | 1 - 3 files changed, 29 insertions(+), 32 deletions(-) delete mode 100644 public/_frontend/vite.svg diff --git a/public/_frontend/.htaccess b/public/_frontend/.htaccess index 52d7f05..15135c6 100644 --- a/public/_frontend/.htaccess +++ b/public/_frontend/.htaccess @@ -1,27 +1,27 @@ -RewriteEngine On -RewriteBase /_frontend/ - -RewriteRule ^index\.html$ - [L] - -RewriteCond %{REQUEST_FILENAME} -f [OR] -RewriteCond %{REQUEST_FILENAME} -d -RewriteRule ^ - [L] - -RewriteRule ^ index.html [L] - -# ── Cache headers ──────────────────────────────────────────────────────────── - -# index.html: never cache — always fetch fresh so the browser picks up -# the latest hashed JS/CSS filenames after a deploy. - - Header set Cache-Control "no-store, no-cache, must-revalidate" - Header set Pragma "no-cache" - Header set Expires "0" - - -# Hashed assets (JS, CSS, fonts, images inside /assets/): -# Vite appends a content hash to every filename, so these are immutable. -# Cache them for 1 year — a new deploy produces new filenames automatically. - - Header set Cache-Control "public, max-age=31536000, immutable" - +RewriteEngine On +RewriteBase /_frontend/ + +RewriteRule ^index\.html$ - [L] + +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^ - [L] + +RewriteRule ^ index.html [L] + +# ── Cache headers ──────────────────────────────────────────────────────────── + +# index.html: never cache — always fetch fresh so the browser picks up +# the latest hashed JS/CSS filenames after a deploy. + + Header set Cache-Control "no-store, no-cache, must-revalidate" + Header set Pragma "no-cache" + Header set Expires "0" + + +# Hashed assets (JS, CSS, fonts, images inside /assets/): +# Vite appends a content hash to every filename, so these are immutable. +# Cache them for 1 year — a new deploy produces new filenames automatically. + + Header set Cache-Control "public, max-age=31536000, immutable" + diff --git a/public/_frontend/index.html b/public/_frontend/index.html index 9ef3c62..264f4c1 100644 --- a/public/_frontend/index.html +++ b/public/_frontend/index.html @@ -22,11 +22,9 @@ - - VITEC - - + +
diff --git a/public/_frontend/vite.svg b/public/_frontend/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/_frontend/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file