microsoft / code-push

A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.
https://microsoft.github.io/code-push/
Other
4.37k stars 501 forks source link

Understanding code-push bundle size #755

Closed gabrielbs closed 2 years ago

gabrielbs commented 3 years ago

Hello guys,

I'm trying to understand how the code-push bundle size is calculated to understand the impact of the network requests for the final user

I'm debugging the update_check endpoint that is triggered by codePush.sync and I realize that in some updates the package_size is bigger than the main bundle.

In my case, our bundle have 8.5mb and in some cases the package size on code-push is 9.3mb

But I have some scnarios that the package size is just 2.5mb and there is not so much difference between a bundle and another in terms of assets size

Some has any idea on why this happens?

I'm using react-native-code-push v6.2.0

Thanks in advance

ghost commented 2 years ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost commented 2 years ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.