diff --git a/apache/steuerkram.conf b/apache/steuerkram.conf index 25b345d..78217e0 100644 --- a/apache/steuerkram.conf +++ b/apache/steuerkram.conf @@ -19,6 +19,16 @@ Require all denied + # HTML-Seiten nie cachen (damit neue ?v=-URLs sofort wirken) + + Header set Cache-Control "no-cache, must-revalidate" + + + # Statische Assets aggressiv cachen (Cache-Busting via ?v= in der URL) + + Header set Cache-Control "public, max-age=31536000, immutable" + + ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined