News for hackers. Stuff that matters.
Re:Google Webfonts, the Spy Inside? by a3_nm on Friday February 20, 2015 @07:21PM (#9084013)
It's a pity that there isn't currently a way to leverage cached resources with different URLs for the same content.

In fact this would not be hard: if you could indicate, with the resource URL, the hash of the resource content, the browser could just use the resource with that hash if it has it in cache (no matter from which URL), and otherwise retrieve it, check the hash, and add it to the cache.

Re:Google Webfonts, the Spy Inside? by kbar13 on Saturday February 21, 2015 @11:44AM (#9085969)
to be fair, what happens if there's a hash collision?
Re:Google Webfonts, the Spy Inside? by a3_nm on Sunday February 22, 2015 @11:20AM (#9089825)
Use a cryptographic hash function, and there will be no collisions. There are a lot of things that rely on the assumption that hash collisions do not happen.