This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
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 3 changed files with 37 additions and 30 deletions.