https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=554981&amp;thanks=554981&amp;ts=1447349693<p>Downloading numerous file dependencies can slow down the web browsing experience. These include frameworks such as Polymer, Angular, jQuery, jQueryUI which are often huge, comprise tens of separate HTML, JS, and CSS files, but are however duplicated across multiple servers, often out of necessity.<p>CDNs partially solve this problem but there are still numerous competing CDNs, as well as places (e.g. China) where ones&#x27; choice of CDN may not work well.<p>I propose an HTML attribute &quot;checksum&quot; where one can specify the checksum of a file, e.g.<p><pre><code>    &lt;link rel=&quot;import&quot; src=&quot;&#x2F;js&#x2F;polymer&#x2F;polymer.html&quot; checksum=&quot;44194508fca6f3187c5db3602c72fb03bb6055b8&quot;&gt;

    &lt;script src=&quot;&#x2F;js&#x2F;jquery.min.js&quot; checksum=&quot;43dc554608df885a59ddeece1598c6ace434d747&quot;&gt;&lt;&#x2F;script&gt;

    &lt;img src=&quot;&#x2F;images&#x2F;some_huge_image.jpg&quot; checksum=&quot;cb3c80c5d6f14bcd5a134399253c0566951af38e&quot;&gt;
</code></pre>
Web browsers should then keep track of the SHA1 checksums of all cached files, and if a file with a matching SHA1 checksum is found, REGARDLESS OF ITS ORIGIN, the file is not requested again from another server.<p>This would further speed up the web experience as we move forward with things like Angular, Polymer, Webcomponents, and other things that are going to have a huge, huge number of file dependencies.
My idea to significantly speed up web browsers with a HTML “checksum” attribute