Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:config:gzip-compression [2017/05/19 14:14]
Eric Leu [Compression verification]
litespeed_wiki:config:gzip-compression [2017/05/19 15:42]
Eric Leu [Compression verification]
Line 34: Line 34:
 ** How to check MIME type pre-defined or not? ** ** How to check MIME type pre-defined or not? **
  
-Filter “MIMe type”(E.g. ''​text/​xml''​) in the following path: +Filter “MIMe type”(e.g. ''​text/​xml''​) in the following path: 
-Web Admin Console → Server → General → General Settings → MIME Settings → Click ''​$SERVER_ROOT/​conf/​mime.propertie''​+Web Admin Console → Server → General → General Settings → MIME Settings → Click ''​$SERVER_ROOT/​conf/​mime.properties''​
  
 If the filter result is empty, then there are two methods to solve the problem you met:  ​ If the filter result is empty, then there are two methods to solve the problem you met:  ​
-  * Method 1: Please append MIME type(E.g. ''​text/​xml'',​ ''​text/​css''​) manually in the following path: Web Admin Console → Server → Tuning → GZIP Compression → Edit → Append Compressible Types → Save → Graceful Restart {{:​litespeed_wiki:​config:​compressible_type.jpg?​|}}+  * Method 1: Please append MIME type(E.g. ''​text/​xml''​) manually in the following path: Web Admin Console → Server → Tuning → GZIP Compression → Edit → Append Compressible Types → Save → Graceful Restart {{:​litespeed_wiki:​config:​compressible_type.jpg?​|}}
  
-  * Method 2: Please add MIME type entry(E.g. ''​Suffixes:​css'',​ Mime type:''​text/​css''​) manually in the following path: Web Admin Console → Server → General → General Settings → MIME Settings → Click ''​$SERVER_ROOT/​conf/​mime.properties''​ → Add → Enter Suffixes and Mime Type → Save → Graceful restart. {{:​litespeed_wiki:​config:​mimetype-add.png?​|}} {{:​litespeed_wiki:​config:​mime-entry.png?​|}}+  * Method 2: Please add MIME type entry(E.g.Suffixes:''​xml'',​ Mime type:''​text/​xml''​) manually in the following path: Web Admin Console → Server → General → General Settings → MIME Settings → Click ''​$SERVER_ROOT/​conf/​mime.properties''​ → Add → Enter Suffixes and Mime Type → Save → Graceful restart. ​\\ {{:​litespeed_wiki:​config:​mimetype-add.png?​|}} {{:​litespeed_wiki:​config:​mime-entry.png?​|}} 
 +  * From above examples, you can add MIME type as you want, e.g. text/css, text/js, text/x-js.
  • Admin
  • Last modified: 2019/09/16 14:34
  • by Lisa Clarke