Skip to main content

Gzip takes precedence over Brotli on some websites

Comments

3 comments

  • cPanelLauren
    What is the request you're sending and what do you know of the configuration on the receiving servers?
    0
  • fenix83
    Hi Lauren All I did was enable brotli on EA4. The only difference of both websites is that the first website(the cpanel accounts) was created before enabling brotli, and the second website was created after enabling brotli. The resources requested are css/js/html
    0
  • fenix83
    I just realized that the htaccess was like this SetOutputFilter DEFLATE Header unset ETag FileETag None Header set Cache-Control "max-age=31536000, public" Header unset Last-Modified
    I have commented "SetOutputFilter DEFLATE" and the first web is already shown with brotli encoding
    0

Please sign in to leave a comment.