This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:2.1:performances [2019/05/20 18:45]
xguimard [Cron optimization]
documentation:2.1:performances [2019/09/16 16:05] (current)
Line 204: Line 204:
 Now ldapgroups contains "admin su" Now ldapgroups contains "admin su"
 </​note>​ </​note>​
 +==== NGINX performances ====
 +To increase launch by web browser, for example to load js, css, or fonts, Gzip compression can be activated.
 +Edit file /​etc/​nginx/​mime.types
 +Check those lines or add :
 +<code perl>
 +application/​vnd.ms-fontobject ​   eot;
 +application/​x-font-ttf ​          ttf;
 +application/​font-woff ​           woff;
 +font/​opentype ​                   ott;
 +Edit file /​etc/​nginx/​nginx.conf
 +<code perl>
 +gzip on; # active la compression Gzip
 +gzip_disable "​msie6"; ​
 +gzip_vary on;
 +gzip_proxied any;
 +gzip_comp_level 6;
 +gzip_buffers 16 8k;
 +gzip_http_version 1.1;
 +gzip_min_length 128;
 +gzip_types text/plain text/css application/​json application/​javascript application/​x-javascript text/xml application/​xml application/​rss+xml text/​javascript application/​vnd.ms-fontobject application/​x-font-ttf font/​opentype image/jpeg image/png image/​svg+xml image/​x-icon;​
 +Restart NGINX and watch web-browser console.
 ===== Manager performances ===== ===== Manager performances =====