Skip to content

Commit 61bf8c2

Browse files
Merge pull request #992 from gnowoel/patch-1
Update link to caching API
2 parents c8b78bf + 553e1b5 commit 61bf8c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

explainer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The easiest way at the moment is to close & reopen the tab (cmd+w, then cmd+shif
187187

188188
## The cache
189189

190-
service worker comes with a [caching API](https://slightlyoff.github.io/ServiceWorker/#cache-objects), letting you create stores of responses keyed by request.
190+
service worker comes with a [caching API](https://w3c.github.io/ServiceWorker/#cache-objects), letting you create stores of responses keyed by request.
191191

192192
```js
193193
self.addEventListener('install', function(event) {
@@ -215,7 +215,7 @@ self.addEventListener('fetch', function(event) {
215215

216216
Matching within the cache is similar to the browser cache. Method, URL and vary headers are taken into account, but freshness headers are ignored. Things are only removed from caches when you remove them.
217217

218-
You can add individual items to the cache with `cache.put(request, response)`, including ones you’ve created yourself. You can also control matching, [discounting things](https://slightlyoff.github.io/ServiceWorker/#cache-query-options-dictionary) such as query string, methods, and vary headers.
218+
You can add individual items to the cache with `cache.put(request, response)`, including ones you’ve created yourself. You can also control matching, [discounting things](https://w3c.github.io/ServiceWorker/#cache-query-options-dictionary) such as query string, methods, and vary headers.
219219

220220
## Other service worker–related specifications
221221

@@ -232,4 +232,3 @@ This document only scratches the surface of what service workers enable, and are
232232
## Acknowledgments
233233

234234
Many thanks to [Web Personality of the Year nominee](http://www.ubelly.com/thecritters/) Jake (“B.J.”) Archibald, David Barrett-Kahn, Anne van Kesteren, Michael Nordman, Darin Fisher, Alec Flett, Andrew Betts, Chris Wilson, Aaron Boodman, Dave Herman, Jonas Sicking, and Greg Billock for their comments and contributions to this document and to the discussions that have informed it.
235-

0 commit comments

Comments
 (0)