Skip to main content

Gzip taking precedence over Brotli

Comments

6 comments

  • cPanelLauren
    Hello @ebizindia
    • Can you tell me how you're determining that gzip is taking precedence over brotli?
    • Can you show me the configuration for both brotli and gzip?
    • Which is listed first in the configuration?
    Thanks!
    0
  • ebizindia
    1. I load the page, check in the Chrome DevTools and it reports gzip. Used to be Brotli, got changed somehow. 2. Please advise how to check it. 3. Please advise how to check it.
    0
  • cPanelLauren
    Hello, The modules are stored in /etc/apache2/conf.modules.d/
    in most cases. You can view the apache configuration by running cat /etc/apache2/conf/httpd.conf
    For apache brotli needs to be specified in the configuration first or gzip will be used instead. The forum post here goes over this:
    0
  • ebizindia
    Sorry, I am missing something. There is no mention of Brotli in the httpd.conf you referred above. Also, the /etc/apache2/conf.modules.d/ directory only has a 170_mod_deflate.conf which refers to a .so file. Please give a little more detail.
    0
  • ebizindia
    Thanks and sorry! The data centre team had disabled the Brotli compression for some debugging and never activated it again.
    0
  • cPanelLauren
    Glad to hear you were able to get it resolved! Thanks for letting us know.
    0

Please sign in to leave a comment.