This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25872 - Specify fetching reuse
Summary: Specify fetching reuse
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Fetch (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+fetchspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 06:25 UTC by Anne
Modified: 2015-03-30 10:18 UTC (History)
3 users (show)

See Also:


Attachments

Description Anne 2014-05-23 06:25:17 UTC
Per HTML's fetching algorithm a particular fetch can be reused. Figure out if that's feasible in the context of SW (seems likely, it just gets one event rather than two) and then specify it.
Comment 1 Anne 2014-10-30 14:22:38 UTC
Potential SW issues: https://github.com/slightlyoff/ServiceWorker/issues/244

The other issue is how to define this. The Fetch algorithm queues tasks in given environment. However, if multiple fetches are shared that could involve multiple environments...
Comment 2 Anne 2015-02-18 10:14:14 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=1127429#c8 has a set of arguments against sharing. Simplest is probably to not allow this per the specification. Implementations are of course still free to find ways that go undetected.