标签:var lines ensure ice font syn style and ddl
type="text/javascript"
or type="text/css"
are not required anymore and should be removed.rel
attribute with the preload
value and add as="style"
on the <link>
element<link rel="preload" href="a.css" as="style" onload="this.rel=‘stylesheet‘"> <noscript><link rel="stylesheet" href="a.css"></noscript>
<style></style>
in a single line (minified if possible).<body>
(Not valid for HTTP/2)preconnect
to load your fonts faster: <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
width
and height
attributes on <img>
if the final rendered image size is known.srcset和
picture了解一下
)<head>
or at the end of your page (before </body>
).async
or deferred using defer
attribute.标签:var lines ensure ice font syn style and ddl
原文地址:https://www.cnblogs.com/colima/p/9389086.html