when using module/nomodule make sure to use modulepreload instead of preload for the priority hint#1161
Conversation
a2e1daf to
784d0e1
Compare
sebastianbenz
left a comment
There was a problem hiding this comment.
Thanks for the fix! How long does it take for the validator changes to go live?
|
i believe @honeybadgerdontcare is working on the validator changes so he'll have a more accurate timeline than i can estimate. |
|
It's in cl/363067094 and will be live this week or early next. |
|
this will be temporary and we will most likely need to revert back to |
|
Temporary is between now and earliest May. Even then some users may not upgrade to the latest, correct? In that case it may be a bit longer, but I would think this could be reverted instead of toggled when that version of Chrome is widely adopted. It'll continue to be supported in the validator regardless. |
|
OK, I'll merge this PR once validator changes are live. We can revert behaviour in a subsequent release. |
...ges/optimizer/spec/transformers/experimental/RewriteAmpUrls/adds_geoapi/expected_output.html
Show resolved
Hide resolved
|
Just verified in the AMP Validator that it's now valid AMP. |
Currently chrome double downloads the module (mjs) script twice when we use
preloadinstead ofmodulepreloadin Chrome. Safari does not supportmodulepreloadunfortunately but this is the tradeoff we are making