Display gzipped size for JS and CSS after builds
See original GitHub issueWe currently recommend http-server
for testing prod builds but it doesn’t gzip.
This might lead you down the path of optimizing the wrong thing in the bundle size.
We should fix our instructions.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How can I estimate the size of my gzipped script?
Start with 100 JS files that have gone through the same minification pipeline. For each file, compute the ratio in sizes between gzip...
Read more >How To Optimize Your Site With GZIP Compression
In your browser: In Chrome, open the Developer Tools > Network Tab (Firefox/IE will be similar). Refresh your page, and click the network...
Read more >Why do i get gzip css and js with full size instead ... - Server Fault
I am doing some tests with gzip, I have manually compressed the CSS and JS with gzip. The size of the JS has...
Read more >5 Methods to Reduce JavaScript Bundle Size - Bits and Pieces
Compressing Bundles According to research by CertSimple, Brotli compresses JavaScript files 14% smaller than Gzip. You can use compression- ...
Read more >The Difference Between Minification and Gzipping | CSS-Tricks
css files and .js files). They are both things that reduce the size of the file, making it more efficient in crossing the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll take this!
We could recommend st for serving the files. It’s a pretty fully fledged node.js static file server with gzip enabled by default.