Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompress production bundles #4571

Merged
merged 1 commit into from
Aug 31, 2018
Merged

Commits on Aug 31, 2018

  1. Precompress production bundles

    By precompressing the production bundle and related files, the download
    size is significantly reduced even in cases where the application server
    isn't configured to compress static resources on-the-fly. In addition to
    gzip, precompression is also done with Brotli for further savings when
    applicable.
    
    The bundle size for Beverage Buddy is reduced from 729 KB to 191 KB with
    gzip and 153 KB with Brotli. With the Fast 3G preset in Chrome,
    application load time with an empty cache is reduced from around 5.4
    seconds to 2.4.
    
    Note that Brotli files will only be automatically used after #4556 has
    also been merged.
    
    Fixes #3765
    Legioth committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    9867989 View commit details
    Browse the repository at this point in the history