|
|
|
|
|
by pdkl95
3923 days ago
|
|
Why would it need a warning? If the HTML provides a new integrity="" hash, then any cached version obviously wouldn't pass. Subresource integrity makes it easier to determine if a cached file has expired. The file can be permanently cached for any HTML that requests the same hash value(s). |
|
1) Load the resource specified in src (from network or cache)
2) If there's an integrity attribute, verify its hash