W3C home > Mailing lists > Public > public-webappsec@w3.org > October 2014

[webappsec] SRI : allow multiple integrity attributes or ni:// uris?

From: Brad Hill <hillbrad@gmail.com>
Date: Mon, 6 Oct 2014 10:35:24 -0700
Message-ID: <CAEeYn8jy=Dym=EPACaQnYpdiVFDKLS8Bj+aH7Kv01g3U12q9TA@mail.gmail.com>
To: "public-webappsec@w3.org" <public-webappsec@w3.org>
The thread on caching got me thinking about ServiceWorker and how it
might interact with SRI.

One of the goals of SW is to transparently provide alternate
resolutions to a fetch, perhaps based on online/offline connectivity
or connection characteristics.  e.g. load HD images over Wifi, low-res
ones over metered 3G, and show a styled placeholder when offline.

It seems like it might be useful then to allow supplying multiple
integrity attributes to accommodate this behavior. e.g. "this video
should have hash ni://abc (actual content) or ni://xyz (you're offline
placeholder content).


Received on Monday, 6 October 2014 17:35:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:41 UTC