question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flag to disable gzip

See original GitHub issue

Feature

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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
siddharthkpcommented, Oct 10, 2017

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

0reactions
siddharthkpcommented, Oct 21, 2017

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 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found