Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preloading: switch defer_js to rel=preload
defer_js was using Image objects to preload scripts for WebKit in a way that is harmful in modern browsers. Currently this isn't actually needed in Chrome, since the preload scanner already finds our deferred scripts, but Chrome is thinking of removing that . This change switches us to the new standard, rel=preload, which we will need once Chrome updates its scanner not to preload things with invalid type attributes. Fixes #1054  https://bugs.chromium.org/p/chromium/issues/detail?id=623109
- Loading branch information
Showing with 37 additions and 30 deletions.
Oops, something went wrong.