Flag to disable gzip
See original GitHub issueFeature
What is the current behavior?
maxSize
is max size of gzipped files.
What is the expected behavior?
Bundlesize can be used not only for checking assets size. Sometimes it could be helpfull if we have option like maxRealSize
.
fs.statSync(path).size
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Command line flag to disable HTTP compression. #374 - GitHub
The effect of this change is that the --disable-compression flag unsets the "Accept-Encoding: gzip" header in HTTP requests. In my tests, gzip compression...
Read more >Disable gzip compression in chrome - Stack Overflow
I need to test my web application without using any http compression(disable gzip,deflate).I am able to do it in firefox using config screen ......
Read more >How to Disable GZIP Compression in Apache - Fedingo
Here is how to disable GZIP compression Apache web server. ... It sets no-gzip flag for these URLs to 1 thereby disabling it....
Read more >Why is GZIP compression being flagged as an SEO issue?
If PageSpeed is finding resources on your site that are not compressed, then Siteimprove will report this as an issue.
Read more >Disable gzip compression [#2858039] | Drupal.org
1. Compress cached pages. 2. Aggregate and compress CSS files. The first one is not a problem. The second one is compression AND...
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 think the answer to this lies in https://github.com/siddharthkp/bundlesize/issues/140#issuecomment-335371345 as well 😄
We can look at an optional flag to disable compression
Interesting use case, although users will be served gzipped, right? Is that not a fair assumption?
Even so, a disable compression flag will give you size on disk that you are looking for 😄