Skip to content

Instantly share code, notes, and snippets.

@robatwilliams
Last active October 29, 2019 19:52
Show Gist options
  • Save robatwilliams/ac49a6b92073f880b0dfbd072dc0e8cf to your computer and use it in GitHub Desktop.
Save robatwilliams/ac49a6b92073f880b0dfbd072dc0e8cf to your computer and use it in GitHub Desktop.
HTTP delta requests - notes

https://github.com/robatwilliams/differential-loading-poc

https://github.com/gmetais/sw-delta

https://github.com/gmetais/sw-delta-nodejs

https://github.com/alexcasalboni/sw-delta-python

gmetais/sw-delta#1

https://en.wikipedia.org/wiki/SDCH

gmetais/sw-delta#7

https://twitter.com/gaelmetais/status/760446075719127040

https://twitter.com/gaelmetais/status/759424228261191680

https://github.com/wmsmacdonald/delta-cache-browser

https://github.com/wmsmacdonald/delta-cache-node

https://github.com/wmsmacdonald/delta-cache-node

https://github.com/wmsmacdonald/delta-cache

https://tools.ietf.org/html/rfc3229

https://blog.wanderview.com/blog/2015/10/13/patching-resources-in-service-workers/

https://developers.google.com/web/updates/2016/09/foreign-fetch

mjackson/unpkg#49

https://github.com/google/diff-match-patch

https://expressjs.com/en/advanced/best-practice-performance.html

https://forum.serverless.com/t/use-cloudfront-proxy-to-access-lambda-apis/357/4

https://forum.serverless.com/t/directly-proxying-lambda-via-cloudfront-without-api-gateway/3808

https://aprescott.com/posts/sdch

https://bugzilla.mozilla.org/show_bug.cgi?id=641069

https://news.ycombinator.com/item?id=5286506

https://engineering.linkedin.com/shared-dictionary-compression-http-linkedin

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/nQl0ORHy7sw

https://github.com/orktes/rfc3229

https://github.com/mendsley/bsdiff

https://twitter.com/Souders/status/268446079769534464

https://www.w3.org/2012/11/webperf-slides-hundt.pdf

https://news.ycombinator.com/item?id=12284846

https://new.blog.cloudflare.com/efficiently-compressing-dynamically-generated-53805/

https://stackoverflow.com/questions/3264457/does-an-implementation-of-rfc-3229-delta-encoding-for-http-exist

https://www.wyman.us/main/2004/09/using_rfc3229_w.html

https://blog.wanderview.com/blog/2015/10/13/patching-resources-in-service-workers/

RFC issues... why do people use path/query/filename not etag? Hashed filenames consistent across rebuilds

url doesn't change - problem if you want old version

transparent to browser, doesn't need service worker ideally

226 not cached? but we want that for cdn

Treat diff as own resources, so they can be cached?

Intensive on server - ok if you can predict which deltas needed e.g. releases, or CDN versions

"differential loading" - term already taken?

precompute diffs - between last few app/cdn versions

applying multiple deltas too costly?

@robatwilliams
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment