Closed Bug 1350364 Opened 8 years ago Closed 7 years ago

respondWith() should allow synthesized channel to expose underlying alternate cached data (js bytecode)

Categories

(Core :: DOM: Service Workers, enhancement, P2)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1350359

People

(Reporter: bkelly, Unassigned)

Details

Once the alternate cache data (js bytecode, etc) is exposed in the Response by bug 1350359, we should then use this data in respondWith() when we synthesize the resulting channel. This is necessary to allow a <script> tag to use the cached bytecode optimization when the nsIChannel is intercepted by a service worker. Bug 1350359 would allow the optimization to work in the pass-through case; `respondWith(fetch(e.request))`. Bug 1336199 would then allow it to work for offlined scripts in Cache API.
Priority: -- → P2
I think Eden ended up implementing this in bug 1350359.
No longer blocks: ServiceWorkers-perf
Status: NEW → RESOLVED
Closed: 7 years ago
No longer depends on: 1350359
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.