Re:Eliminate HTTP requests using JavaScript diffs and LocalS...
by diurnalist on Wednesday November 13, 2013 @02:29PM
(#6727770)
DynoSRC will actually insert white space into minified files before doing the diff so it can still do line diffs. We were and are concerned about the overhead of a diff on the minfication use-case, but it's promising that some minifiers like Closure have settings you can use to ensure that two versions of a file will match up relatively well when minified. Thanks for the link!
Google has had diff tools like this for awhile, as such, the Closure Compiler contains a feature called stable name maps to prevent a small change from causing all of the symbols globally to be minified differently. It's outputs two files of variable and property names, and subsequent compilers can attempt to minimize diff-cheese. They also help SDCH.
https://groups.google.com/forum/#!topic/closure-compiler-dis...