2 ms·
Cool, that's almost exactly the idea[1]. Although I would argue that resources should be immutable and versioned. Actually jsbin has a good representation there
by javajosh 10y ago
Cool, that's almost exactly the idea[1]. Although I would argue that resources should be immutable and versioned. Actually jsbin has a good representation there where you have:
http://domain/resource/version
and `http://domain/resource` http://domain/resource` just points to either the latest version or to a specific one that the author chooses.
The big difference between SRI and my proposal is that the hash go on the URL rather than an attribute.
[1] https://www.w3.org/TR/SRI/ https://www.w3.org/TR/SRI/