diff --git a/documentation/optimization.html b/documentation/optimization.html index 95cac878c9..7f8f23cd7d 100755 --- a/documentation/optimization.html +++ b/documentation/optimization.html @@ -445,6 +445,24 @@ RewriteRule ([^/]+)/work/(.*)$ /main/work/download.php?file=work/$2&cDir=$1 [QSA
This is easy, doesn't require a server reload and you should see the results pretty quickly. As mentioned above, if security of your content is an issue, though, you should avoid using this technique.

+

+You can also mitigate the risk by disabling permissions check only +for some static resource like css,js and fonts files. +
+For that is required to load header module +in apache (check with a2enmod in your favorite root terminal)
+add theses line after RewriteBase /courses/: +

+
+    # all file name ended with these  extensions names will bypass the permission check   (and also served by the browser cache at  the next request)
+    
+        Header unset Cache-Control  
+        Header set Cache-Control "public, max-age=29030400" 
+        RequestHeader unset Cookie      
+        Header unset ETag
+    
+
+

MySQL/MariaDB compression