Skip to content

Commit

Permalink
Warn about unreliable <link preload> in README
Browse files Browse the repository at this point in the history
See #111
  • Loading branch information
jscheid committed Aug 30, 2019
1 parent 9f448b7 commit 57e64b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ Webpack >= 4).

## Caveats

### Preloading

`<link rel="preload">` doesn't work as expected in current Chrome versions, even
if the integrity attribute is added to the `link tag (which the current version
of webpack-subresource-integrity does _not_ do.) The resource will be loaded
twice, defeating the purpose of preloading. This issue doesn't appear to exist
in Firefox or Safari. See issue #111 for more information.

### Proxies

By its very nature, SRI can cause your page to break when assets are
Expand Down

0 comments on commit 57e64b5

Please sign in to comment.