Service Worker possibly caching both "/" and "index.html"

RESOLVED INVALID

Status

()

RESOLVED INVALID
3 years ago
3 years ago

People

(Reporter: davidwalsh, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Thread started here:

https://twitter.com/hsablonniere/status/667425018779975680

It appears Firefox caches "/" and "/index.html" even though "/" wasn't added to cache within the service worker.  Chrome does not cache "/".  Demo available at:

https://github.com/mozilla/serviceworker-cookbook/tree/master/offline-status

I have a PR in to add "/" to the array so you may need to remove that to duplicate the issue.
(Reporter)

Comment 1

3 years ago
Never mind, I read this all improperly.  Sorry :(
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID

Comment 2

3 years ago
Yeah, sorry for the wrong report.
Firefox works like Chrome and is spec compliant on this.
It's just the demo that should also cache "/" as you corrected in https://github.com/mozilla/serviceworker-cookbook/pull/113.
You need to log in before you can comment on or make changes to this bug.