3 ms·
The combination of subresource integrity, cache immutability, and encoding the hash in the URL would be a good solution. URLs would look like http://www.clo
by Animats 11y ago
The combination of subresource integrity, cache immutability, and encoding the hash in the URL would be a good solution. URLs would look like
http://www.cloudflare.com/cache/md5/d8e8fca2dc0f896fd7cb4cb0031ba249.css
and subresource integrity would insure that the value in the URL matches the hash of the content. Files named by their hash can be treated as immutable with confidence.
- brianwawok 11y agoThis seems better. Out of the filename we get for free the hash.
- Animats 11y agoIt works for Bittorrent, after all.