[w3c/manifest] Manifast and Service Worker updateViaCache (#690)

Hello,

I would just like to double check something.

In the Manifest Spec found here: https://www.w3.org/TR/appmanifest/#update_via_cache-member

You write the following:

`"update_via_cache": "imports"`

In the Service Worker Spec found here: https://w3c.github.io/ServiceWorker/#enumdef-serviceworkerupdateviacache

They write the following:

`"updateViaCache": "imports"`

Surely both should match exactly the same to avoid confusion and possible syntax errors?

Going to add some extra links for info:

Google's use of it: https://developers.google.com/web/updates/2018/06/fresher-sw

Not sure if this issue is related: https://github.com/w3c/manifest/issues/641

I just wondered if writing a manifest like this would be correct:

```
"serviceworker": {
      "src": "/sw.js",
      "scope": "./",
      "updateViaCache": "imports"
},
```

Also I spoke to someone at Google about updateViaCache and they said that imports was set to default by every browser. Not sure if this is totally true, but maybe could add to the spec - if it is true?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/690

Received on Tuesday, 12 June 2018 12:57:13 UTC