X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=view%2F.htaccess;h=6871f092743cd606942c159ad8108f928c26b043;hb=d929e714df680107852cf4e52b9918a6a86d5724;hp=04cd5468569ab649f5420390a4eb9fba2ddd8da7;hpb=22de27327c030a8f494348c52bef3f6a4f85b0fc;p=friendica.git diff --git a/view/.htaccess b/view/.htaccess index 04cd546856..6871f09274 100644 --- a/view/.htaccess +++ b/view/.htaccess @@ -1,5 +1,5 @@ - + #Apache 2.4 Require all denied @@ -8,3 +8,18 @@ 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