News for hackers. Stuff that matters.
Re:One Small, Arbitrary Change and It's a Whole New World by saurik on Sunday August 19, 2012 @08:37AM (#4403852)
The problem you are talking about is so much more complex than just "use tgz", though... like, a Chrome extension includes a metadata file... are you intending that the tgz is also constructed to make certain that that metadata file must be near the beginning of the archive? Again, one of the main reasons that zip files are used is because they are better supported by simple GUI tools, as they are intended to be constructed by reasonably "end" developers.

As for having an implementation caching locations as the file is being downloaded, if you are going to that much trouble to layer browser intelligence over the file format, you may as well just download the index first; we do this quite often in iPhone-jailbreak-land, as Apple uses zip files for firmware updates: we download the index, and use that to download just the parts we need (all using Range headers).

https://github.com/rpetrich/partialzip

There are no comments on this comment yet.