News for hackers. Stuff that matters.
Re:DynoSRC - Eliminate HTTP requests for JavaScript files by borplk on Thursday November 28, 2013 @06:31AM (#6814120)
Not an expert on this, but could something like rsync be implemented and allow it to treat the file as binary? (e.g. minified or non-minified doesn't matter)
Re:DynoSRC - Eliminate HTTP requests for JavaScript files by afandian on Thursday November 28, 2013 @06:42AM (#6814135)
If the minifcation involves symbol substitution, the substitutions are going to depend on the content of the whole file.

So unless you re-implement the minification algorithm to be optimised for minimising diffs you might find that every variable's name has changed and size of the file diff might start to approach (or exceed) the size of the file itself.

Re:DynoSRC - Eliminate HTTP requests for JavaScript files by michaelmior on Thursday November 28, 2013 @08:55AM (#6814471)
Agreed this is a problem. Although perhaps it's worth not minifying your JS to gain the speedup from the use of diffs?
Re:DynoSRC - Eliminate HTTP requests for JavaScript files by pedrocr on Thursday November 28, 2013 @11:00AM (#6815059)
rsync requires a lot of communication back and forth which is precisely what you're trying to avoid. You want to fire off a single diff in a single roundtrip.