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
Using inlineStyles I noticed you inline the 'critical' CSS in a <style> block in the <head> and then <link> the complete, non-critical, CSS file right above </body> (so as not to block rendering).
Using
inlineStyles
I noticed you inline the 'critical' CSS in a<style>
block in the<head>
and then<link>
the complete, non-critical, CSS file right above</body>
(so as not to block rendering).Another good pattern is to use
rel=preload
in the head for this non-critical CSS file and then load it with JS. A good explanation (and JS utility) can be found in LoadCSS by the Filamentgroup.Adding a
loadCSS
script might be out of scope, but it might be good to document (README?) this usage withextractStyles
.inlineStyles
could actually do half the work by also adding a<link rel="preload" href="org-stylesheet.css" as="style">
.The text was updated successfully, but these errors were encountered: