Skip to content

Commit

Permalink
Fetch service worker scripts with "no-cache" by default (#1020)
Browse files Browse the repository at this point in the history
This introduces service worker registration's use cache field and its
related APIs: options.useCache to register method and
registration.useCache for ServiceWorkerRegistration objects. This
changes the default cache mode of fetching SW scripts to "no-cache".
After the change, 24 hours limit and job's force bypass cache flag rules
are still enforced. register() method's options value set to
{ useCache: true } re-enables the previous default behavior provided
before this change.

Fixes #893 #894.
  • Loading branch information
jungkees authored Dec 12, 2016
1 parent d84b93e commit 7deb238
Show file tree
Hide file tree
Showing 4 changed files with 612 additions and 341 deletions.
Loading

0 comments on commit 7deb238

Please sign in to comment.