Hacker News new | ask | show | jobs
by ilovecomputers 3866 days ago
Since we are on the topic of effectively distributing JS code to clients...why is there no push for delta updates on the web? There was a proposal for delta caching back in 2002: https://tools.ietf.org/html/rfc3229
1 comments

Service Workers can help here:

  1. Load the cached resource
  2. Fire off a background request for any delta updates
  3. Apply delta and update cache
  4. Next load use the new resource