Join the community today
Become a Member

WebPerf Brotli compression algorithm coming to Chrome browser soon !

Discussion in 'All Internet & Web Performance News' started by eva2000, Jan 21, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    123.09beta01 only creates that file /usr/local/nginx/conf/brotli_inc.conf on the fly when you recompile nginx via centmin.sh menu option 4, with the setting below in /etc/centminmod/custom_config.inc
    Code:
    NGINX_LIBBROTLI=y


     
  2. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    KeyCDN have a new Brotli compression check test out now Brotli Test | Brotli compression check @Brian nice :D

    Running Centmin Mod LEMP 123.09beta01 with NGINX_LIBBROTLI=y recompiled Nginx 1.9.10 HTTP/S working fine

    So Chrome 49 and Opera 36 will have Brotli Can I use... Support tables for HTML5, CSS3, etc !

    upload_2016-2-2_4-45-25.png

    upload_2016-2-2_4-46-16.png
     
    Last edited: Feb 2, 2016
  3. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    3:52 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Is it only for https?
    Doesn't work on http?
     
  5. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    2:52 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    It currently only works over HTTPS connections, and only where web developers are supporting it.
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ;)
     
  7. BobbyWibowo

    BobbyWibowo Active Member

    197
    42
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +71
    Local Time:
    7:52 PM
    1.17.x
    10.3.x
    Damn, I didn't expect that it was already enabled by default if you have chosen to use brotli on the custom_config file, lol. I tried to manually add brotli directives on nginx.conf and got error saying that a brotli directive was duplicated. Apparently they were already written in brotli_inc.conf which is included in nginx.conf.
     
  8. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup Centmin Mod 123.09beta01 is smart enough to take care of the entire setup via include file for brotli_inc.conf in nginx.conf :D
     
  9. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
    And I was confuse why it didn't work for me, HTTPS!
    Purchasing Certificate now :D.
     
  10. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    2:52 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    :p
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes SSL is the future :D
     
  12. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
    HTTPS force and enabled, but br encoding only works with some pages, mostly static file.
    Why is that?
     
  13. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what's not reporting br encoding ? works fine for me on this forum which has ngx_brotli enabled.. of course cdn served files don't support brotli right now
     
  14. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
    Header still says:
    content-encoding gzip

    Not br, but on some pages or in incognito it's br.
    Is there something caching to flush?
     
  15. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    link to specific page ?
     
  16. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
    Check PM :D
     
  17. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
    Okay someone also using brotli?
    Does it works 100% on your site?
    On every page?
     
  18. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    8:52 PM
    Mainline
    10.2
  19. eva2000

    eva2000 Administrator Staff Member

    55,247
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    try disabling fastcgi_cache and see
     
  20. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    2:52 PM
    1.9.12
    10.0.23
    and please @RoldanLT - reply on this suggestion from @eva2000 - if that was case on your site.