You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the MDN example neither utilizes an onload script nor a <noscript> tag. Functionally, both seem to be equivalent from what I would assume. Is there any benefit to choosing one over the other? Or is it just a matter of taste?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the Optimize section of the README, the following example is given:
I'm curious to know the reasoning behind that. I'm asking, as the MDN article regarding Link types: preload simply does this:
So the MDN example neither utilizes an
onload
script nor a<noscript>
tag. Functionally, both seem to be equivalent from what I would assume. Is there any benefit to choosing one over the other? Or is it just a matter of taste?Beta Was this translation helpful? Give feedback.
All reactions