This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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 [1]. 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 [1] https://bugs.chromium.org/p/chromium/issues/detail?id=623109
- Loading branch information