You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The built js file in your directory is not gzipped, it's only minified. When you serve that file the file and gzip it (which is the standard way to deliver content) that's the size that will actually be transferred. If you use the pushstate server as demonstrated in the build output and look at the transfer size in the network inspector in your browser dev tools you will see it only transfers the amount specified by the gzip size.
It might be handy to read a guide on how web servers do gzip
I think it is better to show the actual size too. This got me confused before. I thought that it already gzip'ed but it is not. Might reconsider this #1908 ?
Activity
tbillington commentedon Nov 30, 2016
The built js file in your directory is not gzipped, it's only minified. When you serve that file the file and gzip it (which is the standard way to deliver content) that's the size that will actually be transferred. If you use the pushstate server as demonstrated in the
build
output and look at the transfer size in the network inspector in your browser dev tools you will see it only transfers the amount specified by the gzip size.It might be handy to read a guide on how web servers do gzip
thisbejim commentedon Nov 30, 2016
Thanks for the explanation @tbillington, much appreciated!
Altiano commentedon Jul 8, 2017
I think it is better to show the actual size too. This got me confused before. I thought that it already gzip'ed but it is not. Might reconsider this #1908 ?
gaearon commentedon Jul 8, 2017
Happy to review PRs that do something differently.