Commit Graph

7 Commits

Author SHA1 Message Date
Akihiko Odaki
7e028c825d Do not cache with Cache API if cache mode is only-if-cached
The previous implementation tried to cache only-if-cached by changing
request mode but it doesn't work because the property is readonly.

However, caching responses cached with HTTP Cache again with Cache API
does not make sense anyway. Just do not cache it, and leave it to HTTP
cache.
2018-06-30 17:13:13 +09:00
Rich Harris
e84fb7bc7c don't handle non-GET requests by default 2018-05-11 07:42:41 -04:00
Rich Harris
8989b1a5f6 add note 2018-03-11 19:33:30 -04:00
Rich Harris
b5b48c9f16 Merge branch 'patch-1' of https://github.com/thgh/sapper-template into thgh-patch-1 2018-03-11 19:28:54 -04:00
Rich Harris
ae41376239 dont await clients.claim() 2018-03-04 21:35:55 -05:00
Rich Harris
ec1db3fc34 fix and update service worker 2018-03-03 21:41:26 -05:00
Rich Harris
1f9b212794 WIP towards 0.7 compatibility 2018-02-17 17:45:18 -05:00