|
|
|
|
|
by three14
6419 days ago
|
|
Just thought of another benefit - if the referenced resource is cached, the browser can save an extra HTTP request that it would have sent to check if the referenced data has been modified. Now it knows, given the hash, that it must be unchanged. |
|
I assume most people have frameworks that generate their <script src=...> tags for them, so this shouldn't even require developers to think about it.