HTML Subresource Integrity
HTML Subresource Integrity
Posted Jul 7, 2016 8:59 UTC (Thu) by hkario (subscriber, #94864)In reply to: HTML Subresource Integrity by nybble41
Parent article: HTML Subresource Integrity
the suggestion was so that the browser can do partial rendering as soon as the data is read, that means you need all the leaf nodes as the browser will want to update the rendering each time a new chunk is downloaded and checksummed
By writing 8KiB I meant exactly 8192 bytes of data i.e. only the leaf nodes.
In general yes, if getting parts of the tree requires less time (latency) than downloading the data, you don't need the full Merkle tree, but that doesn't assume that the whole point of using it is to reduce latency.