Re: [w3c/ServiceWorker] Proposal: pass custom params in ServiceWorkerRegistration for future use (#1157)

@jakearchibald
> like storing in IndexedDB

it will require addition async call before  get to ServiceWorker events.

> sw.js?query-url-with-all-urlsToCache...
* I trim queries from URLs by server-side to avoid duplicate content, and cache/serve files without queries.
* The long query can exceed the limit supported by server and browser.
* Array as string in URL after will be needed to be converted to array, what if passing Date in URL, multiple level Object (JSON) as string, etc.

All this could be avoided with simple support by spec as proposed above.

-- 
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/ServiceWorker/issues/1157#issuecomment-306465504

Received on Tuesday, 6 June 2017 12:04:37 UTC