Add improving delta update tips (#37)

* Add improving delta update tips

* Reword and tailor delta tips for Sparkle's usage
This commit is contained in:
Mayur Pawashe
2017-01-21 19:00:40 +00:00
committed by Kornel
parent 7140b35644
commit 33ddb87737
+7
View File
@@ -51,3 +51,10 @@ Then you sign each `.delta` and add an entry to your appcast's `<item>` for each
</item>
If the user is running a version of the app for which you haven't provided a `.delta`, or if the patch doesn't apply cleanly, they'll use the non-delta "full" update.
### Tips for Improving Download Size & Performance
We recommend reading Apple's article on [reducing the download size for iOS app updates](https://developer.apple.com/library/content/qa/qa1779/_index.html), which is applicable here too. To reword:
* Do not make unnecessary modifications to files. Compare the contents of the prior and new versions of your app and verify that you've only changed what you expect within your app bundle. Running `BinaryDelta --verbose` will show a diff of what has changed.
* Content that you expect to change in an update should be stored in separate files from content that you don't expect to change. This reduces the size of the delta update and increases its install speed.