Greetings everyone.
I have been reading through the forum and need assistance with enabling data compression using htaccess. I have not found anything concrete as to what mod works for Lite Speed. Here are the three mods listed below:
Here is another one:
And lastly:
Would you know which one of these work with Lite Speed server? Or is any other mod available that is not mentioned above?
Lastly, would this mod work for image files such as PNG and jpeg and what would be the mod for that?
Thank you very much for any help you can provide. My hosting provider Beyond Hosting referred me as they stated that this forum can provide me with the best answers in relation to Lite Speed.
Regards
I have been reading through the forum and need assistance with enabling data compression using htaccess. I have not found anything concrete as to what mod works for Lite Speed. Here are the three mods listed below:
Code:
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
Code:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html|txt|css|js|php)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
Code:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
Lastly, would this mod work for image files such as PNG and jpeg and what would be the mod for that?
Thank you very much for any help you can provide. My hosting provider Beyond Hosting referred me as they stated that this forum can provide me with the best answers in relation to Lite Speed.
Regards