Giter Club home page Giter Club logo

Comments (6)

lostintangent avatar lostintangent commented on May 19, 2024

We only zip up the contents of an update when the developer passes a directory to the "code-push release" command. For React Native, you would do this if you're updating image assets in addition to your JS bundle. Otherwise, if the developer simply passes a single file (e.g. a JS bundle file), it isn't zipped up since the use of gzip will provide sufficient compression for the download, and an archive isn't needed.

Are you experiencing an issue or were you just curious? :)

from code-push.

91jason avatar 91jason commented on May 19, 2024

In the request I cant find httpHead(accept-encoding:gzip)?Is ios used gzip download?

15974ccd-9aec-47d8-9ed5-cae93325f3a8

from code-push.

lostintangent avatar lostintangent commented on May 19, 2024

Hmm, you may be right. We might not be gzipping the response when simply releasing a JS bundle file. When you release a directory (JS bundle + images), we definitely zip that and round trip it to the client, but in the JS bundle scenario, that seems to not be using gzip currently.

Are you experiencing performance issues?

from code-push.

91jason avatar 91jason commented on May 19, 2024

no performance issues ,thanks.I use code-push to update up my app without appstore.nice to meet you by the way ..

from code-push.

lostintangent avatar lostintangent commented on May 19, 2024

Nice to you meet you as well! Thanks so much for trying out CodePush :)

If you're not experiencing any performance issues, would it make sense for us to close this issue? Or would you like us to discuss modifying the existing behavior for JS bundle only updates?

from code-push.

lostintangent avatar lostintangent commented on May 19, 2024

Hey @91jason, I'm going to close this issue for now since you mentioned you weren't experiencing any performance issues. If you do in fact have a problem, please feel free to re-open this and we can investigate further. Thanks!

from code-push.

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.