• Resolved donlee101

    (@donlee101)


    hi there,

    i have several website on my plesk server with w3 total cache enabled.

    Last week there was a plesk update which enabled brotli compression on the server. When this happened all my sites broke, because i had gzip enabled for browser cache in w3 total cache, so i turned off gzip compression. Now i would like to enable brotli compression for cached files, but won’t let me.

    Any idea how to make it work with plesk ? All my sites are running nginx with proxy.

    The page I need help with: [log in to see the link]

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

    (@vmarko)

    Hello @donlee101

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    The problem is with how the files are being compressed and it depends on the environment.
    I’ve inspected your website and I can see that some files are brotli compressed. SO this needs to be taken care of on a server level and enable the compression for all files (HTML&XMK, CSS/JS, Media&other files).
    In case you wish to use Brotli via W3 Total Cache, you need to disable brotli on a server level and install https://github.com/kjdev/php-ext-brotli extension after which it will be enabled to use via W3 Total Cache.
    Thanks!

    Thread Starter donlee101

    (@donlee101)

    Thanks for a quick reply. I will have a think about it if its worth doing.
    Do you think it would be possible to make it work with brotli compression used by plesk, perhaps in the future?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @donlee101

    Thank you for the information.
    This is the way W3 Total cache is working at the moment as it’s compatible with most environments.
    We will take your suggestion into consideration and see if we can do something about this.
    Thanks!

    @donlee101 If you enable Gzip via Plesk Nginx settings for the domain then it will use Brotli when it’s supported and fallback to Gzip.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Brotli compression on PLESK’ is closed to new replies.