Wordpress LScache Plugin: Gzip compression
Last Updated on: Wed, 15 Apr 2026 00:00:02 Where to find gzip compresion in this plugin? Hi @andisman, If youre using LiteSpeed Web Server, then gzip and Brotli compression is usually enabled on a server level. If youre using Apache, then you can add the following to your .htaccess file: SetOutputFilter DEFLATE # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4 .0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex wont work. You can use the following # workaround to get the desired effect: BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html # Dont compress images SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary # Make sure proxies dont deliver the wrong content Header append Vary User-Agent env=!dont-vary Expand Yes I have litespeed server, but when I try to check like on: https://www.giftofspeed.com/gzip-test/ it shows that I dont have gzip compressed? as I am using shared hosting is there info in phpinfo() function where I could check if gzip enabled or not? You can check it in the browser headers usually, but what you can do, is to submit your report number, and then we can take a look at it from our end! Also let us know the report number afterwards! Thanks Lucas! Report number: LRCIXUYI Will wait for your reply! < X-LiteSpeed-Cache: hit < Transfer-Encoding: chunked < Content-Encoding: gzip It seems to support gzip just fine, as well as Brotli. The testing site https://www.giftofspeed.com/gzip-test/ ? it might be, that its actually accepting Brotli compression as well, but doesnt match it correctly when telling whether gzip is enabled or not (Pingdom speed test has same issue currently). Using other sites to test gzip with, reveals that its all OK ? such as https://varvy.com/tools/gzip/ oh ok, thank you very much! Have a great day!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference