• Resolved George M

    (@plan9)


    Hi

    I recently installed Brotli compression on my VPS. It works fine running under apache – calling it via .htaccess instructions generated by W3C Total Cache.

    When I switch to LiteSpeed server the result is that static files (from the cache) seem to have corrupted encoding – so the pages appear as random characters with black diamonds throughout.

    LiteSpeed support suggest disabling brotli compression in W3TC, LSWS will do Brotli compression automatically.

    However this is not a good solution as LSWS uses Brotli on all pages – whereas I understand that W3TC only uses Brotli on pages served from it’s cache. I think with LSWS we are also getting double compressed pages Brotli + GZIP and BROTLI + BROTLI.

    Can you please consider supporting LiteSpeed for Brotli? Is there anything I can tweak to make it work?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @plan9,

    We don’t have any environmental studies with lightspeed – it either works or doesn’t.
    We will consider this for some future releases, but since it needs to be tested and we have some more important fixes to attend, I can not confirm if this is going to be included or not.

    Thread Starter George M

    (@plan9)

    Hi @vmarko

    Well, I can tell you that it definitely does not work with Litespeed. Having said that, after testing W3TC brotli with Apache it seems to perform slightly worse than W3TC gzip – so if anyone else is struggling to get this to work I would advise them that it really isn’t worth the time or effort.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Thank you for the information!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘W3TC Brotli Compression and LiteSpeed Web Server’ is closed to new replies.