Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:config:brotli:start [2020/03/31 02:23] Joshua Reynolds Disabling > Disable |
litespeed_wiki:config:brotli:start [2024/03/01 14:50] Jackson Zhang |
||
---|---|---|---|
Line 17: | Line 17: | ||
Brotli compression should now be disabled server wide. | Brotli compression should now be disabled server wide. | ||
+ | |||
+ | Beginning with LiteSpeed Web Server version 6.x, Brotli compression can not be disabled through web console anymore and you may still disable it through .htaccess as per domain basis. | ||
===== Disable Brotli Compression on a Per Account/Domain Basis ===== | ===== Disable Brotli Compression on a Per Account/Domain Basis ===== | ||
Line 43: | Line 45: | ||
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. | ||