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
Working off of Critical v2.0.0-24, I'm seeing async CSS links being rewritten to a preload based strategy presumably based on the loadCSS project, but it looks like the currently recommended code favors media="print" instead of preload, and in doing so improves browser support greatly.
I think it's be worthwhile to move Critical 2.x to this print based approach, maybe optionally allowing for a declarative property to include the preload option as described further down in that article.
The text was updated successfully, but these errors were encountered:
Working off of Critical v2.0.0-24, I'm seeing async CSS links being rewritten to a
preload
based strategy presumably based on the loadCSS project, but it looks like the currently recommended code favorsmedia="print"
instead ofpreload
, and in doing so improves browser support greatly.I think it's be worthwhile to move Critical 2.x to this
print
based approach, maybe optionally allowing for a declarative property to include thepreload
option as described further down in that article.The text was updated successfully, but these errors were encountered: