Skip to content

Commit

Permalink
bootstrap scripts should preload with low priority. This allows the b…
Browse files Browse the repository at this point in the history
…rowser to prefer loading paint blocking resources like images even if they arrive after the script preload has been processed
  • Loading branch information
gnoff committed Aug 4, 2023
1 parent 997f52f commit 05d4dbe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5467,6 +5467,7 @@ function preloadBootstrapScript(
rel: 'preload',
href: src,
as: 'script',
fetchPriority: 'low',
nonce,
integrity,
crossOrigin,
Expand Down

0 comments on commit 05d4dbe

Please sign in to comment.