X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2F.htaccess;h=6871f092743cd606942c159ad8108f928c26b043;hb=e53dcc3be230ff1cd9255f5fa2e0e57ae22243e2;hp=559a5fcc09638da18364d85f11f2723b81b28488;hpb=aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b;p=friendica.git
diff --git a/view/.htaccess b/view/.htaccess
index 559a5fcc09..6871f09274 100644
--- a/view/.htaccess
+++ b/view/.htaccess
@@ -1,3 +1,25 @@
-Deny from all
-
\ No newline at end of file
+
+ #Apache 2.4
+ Require all denied
+
+
+ #Apache 2.2
+ Deny from all
+
+
+
+
+ ExpiresActive On
+ ExpiresByType image/gif "access plus 1 year"
+ ExpiresByType image/jpeg "access plus 1 year"
+ ExpiresByType image/png "access plus 1 year"
+ ExpiresByType application/javascript "access plus 1 month"
+ ExpiresByType text/javascript "access plus 1 month"
+ ExpiresByType text/css "access plus 1 month"
+
+
+
+ Header set Cache-Control "public"
+
+
\ No newline at end of file