Gaël Métais
Gaël Métais
Yes, this is definitely something that I plan to work on. I found @wanderview's work after finishing sw-delta's: https://blog.wanderview.com/blog/2015/10/13/patching-resources-in-service-workers/ He built https://github.com/wanderview/ubsdiff, based on bsdiff. I'm not fluent in binary,...
[Here](https://github.com/gmetais/sw-delta-nodejs/blob/binary/lib/deltaCalculator.js) you can find a sw-delta-node branch, where I tried to implement your idea with a 2 bytes bitfield for [operation + offset + number of characters to remove/add]. Here...
Hi @Daniel15. As the format is probably going to change to binary soon (#7), do not spend too much time writing these implementations now. I'll answer to the format question...
You made me realize that the number of added/removed chars was included in the next offset, which was useless. Have a look at https://github.com/gmetais/sw-delta-nodejs/pull/1. I believe it's easier to understand...
This is huge! I'll look into it asap!
The output is shorter with the given exemple, this is cool! I don't know nothing about python so I fully trust you. I added it to the list of implementations....
Tell me if I understand correctly: There's a small http server, written in some language, let's say it's language A. Then, any server-side language (languages A, B, C and D)...
Oh great! I don't understand how I missed that. I'll make this change, but now I need to find a way to store the version number. IndexedDB was interesting for...
I like the idea of storing the info inside the headers. A unique request to Cache is better than 2 requests to Cache + IDB.
> Maybe just referencing this issue to say it's a possible work-in-progress. Done.