Closed
Bug 1226364
Opened 10 years ago
Closed 10 years ago
Service Worker possibly caching both "/" and "index.html"
Categories
(Core :: DOM: Service Workers, defect)
Core
DOM: Service Workers
Tracking
()
RESOLVED
INVALID
People
(Reporter: davidwalsh, Unassigned)
Details
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•10 years ago
|
||
Never mind, I read this all improperly. Sorry :(
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Comment 2•10 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.
Description
•