From 33ddb877375837ea1719190c1671fcdabe288176 Mon Sep 17 00:00:00 2001 From: Mayur Pawashe Date: Sat, 21 Jan 2017 14:00:40 -0500 Subject: [PATCH] Add improving delta update tips (#37) * Add improving delta update tips * Reword and tailor delta tips for Sparkle's usage --- documentation/delta-updates/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/delta-updates/index.md b/documentation/delta-updates/index.md index 4773271..4f32d1b 100644 --- a/documentation/delta-updates/index.md +++ b/documentation/delta-updates/index.md @@ -51,3 +51,10 @@ Then you sign each `.delta` and add an entry to your appcast's `` for each 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.