[Bug 14364] appcache: Add an API to make appcache support caching specific URLs dynamically

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14364

--- Comment #12 from Ian 'Hixie' Hickson <ian@hixie.ch> 2012-05-03 18:12:24 UTC ---
An idea I was kicking around would be to instead have just a way to declare a
JS file as being a local interceptor, and then have that JS file be
automatically launched in a worker thread, and then every network request gets
proxied through that worker in some well-defined manner. The worker could then
either say "do whatever you would normally do for that URL", or "redirect to
this URL and try again", or "here's the data for that URL".

That would allow authors to implement the above add/remove functionality
themselves just by pushing the data into a blob store (FIlesystem API, Index
DB), which would be just a few lines of code, while also allowing much more
flexible approaches.

Any opinions?

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 3 May 2012 18:12:29 UTC