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:brotli:start [2020/03/31 02:20]
Joshua Reynolds Merged content from other pages & revised summary
litespeed_wiki:config:brotli:start [2021/09/24 13:23]
Jackson Zhang
Line 2: Line 2:
 Brotli is a compression algorithm which, much like gzip/​deflate,​ reduces both file size and page load time. Brotli compression is supported starting in LiteSpeed Web Server v5.2 and it is enabled by default for secure static pages and [[litespeed_wiki:​cache:​common:​gzip-brotli-automatic-conversion|non-ESI dynamic pages]]. Brotli is a compression algorithm which, much like gzip/​deflate,​ reduces both file size and page load time. Brotli compression is supported starting in LiteSpeed Web Server v5.2 and it is enabled by default for secure static pages and [[litespeed_wiki:​cache:​common:​gzip-brotli-automatic-conversion|non-ESI dynamic pages]].
  
-===== Disabling ​Brotli Compression Server Wide =====+===== Disable ​Brotli Compression Server Wide =====
 Beginning with LiteSpeed Web Server version 5.2, brotli, a new compression method, is now supported and enabled by default. ​ Beginning with LiteSpeed Web Server version 5.2, brotli, a new compression method, is now supported and enabled by default. ​
  
Line 43: Line 43:
 To disable brotli compression via an ''​.htaccess''​ file, simply add: To disable brotli compression via an ''​.htaccess''​ file, simply add:
 <​code>​ <​code>​
-SetEnv no-brotli+<​IfModule LiteSpeed>​ 
 +    ​SetEnv no-brotli 
 +</​IfModule>​
 </​code>​ </​code>​
 This method allows brotli compression to be disabled for certain sub folders/​files without the need for a Graceful Restart. This method allows brotli compression to be disabled for certain sub folders/​files without the need for a Graceful Restart.
  
  • Admin
  • Last modified: 2024/03/04 20:14
  • by Lisa Clarke