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
apollo package is too big #30
Comments
Did you try measuring this with minification and gzip enabled? The vue-apollo package itself is very light. |
@Akryum unfortunately not. This is the minified size that I'm talking about. I believe gzip should be just an additional optimization. |
gzipping should reduce the size of your app significantly. |
Yeah Gzip is definitely not optional IMO - almost every single library is assuming people use Gzip when measuring bundle size. Otherwise people writing code have to worry about doing really fine-grained optimizations that are much better handled by a machine. |
ok, got it :) |
Gzip doesn't reduces amount of js to be parsed. Not every server can use gzip. |
This is not directly related to
vue-apollo
but because I writevue
application I decided to address this issue here.My Vue application file size (the final
build.js
) is around 250KB (the whole application). When I attachvue-apollo
andapollo-client
, the file size exceeds to 350KB. Apollo client equips you with powerful tools but100KB+
well... I would say this is huge.What can we do about that?
The text was updated successfully, but these errors were encountered: