-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using module/nomodule make sure to use modulepreload
instead of preload
for the priority hint
#1161
Conversation
a2e1daf
to
784d0e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
preload
instead ofmodulepreload
in Chrome. Safari does not supportmodulepreload
unfortunately but this is the tradeoff we are making