GithubHelp home page GithubHelp logo

apollo package is too big about apollo HOT 7 CLOSED

xpepermint avatar xpepermint commented on April 27, 2024
apollo package is too big

from apollo.

Comments (7)

Akryum avatar Akryum commented on April 27, 2024

Did you try measuring this with minification and gzip enabled? The vue-apollo package itself is very light.

from apollo.

xpepermint avatar xpepermint commented on April 27, 2024

@Akryum unfortunately not. This is the minified size that I'm talking about. I believe gzip should be just an additional optimization.

from apollo.

Akryum avatar Akryum commented on April 27, 2024

gzipping should reduce the size of your app significantly.

from apollo.

Akryum avatar Akryum commented on April 27, 2024

Here is an example on upnkg.com for unminified version of apollo-client:
image

from apollo.

stubailo avatar stubailo commented on April 27, 2024

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.

from apollo.

xpepermint avatar xpepermint commented on April 27, 2024

ok, got it :)

from apollo.

eduarddotgg avatar eduarddotgg commented on April 27, 2024

Gzip doesn't reduces amount of js to be parsed. Not every server can use gzip.

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.