Feature Request: Support to convert css link tags to async/preload tags
See original GitHub issueThis plugin does a great job.
Here’s a feature request to please add support to convert css link tags to async/preload tags
for example convert
<link rel="stylesheet" href="styles.117bbb465e9c23da0dcf.css">
to
<link rel="stylesheet" href="styles.117bbb465e9c23da0dcf.css" media="print" onload='this.media="all",this.onload=null'>
Issue Analytics
- State:
- Created 3 years ago
- Comments:13
Top Results From Across the Web
Link types: preload - HTML: HyperText Markup Language | MDN
The preload value of the element's rel attribute lets you declare fetch requests in the HTML's , specifying resources that your page will ......
Read more >Preload, prefetch and other <link> tags
Prefetch a CSS file, prerender a full page, or resolve a domain ahead of time – and you won't have to wait for...
Read more >How to load CSS Asynchronously - html - Stack Overflow
2020 Update. The simple answer (full browser support): <link rel="stylesheet" href="style.css" media="print" onload="this.media='all'">.
Read more >HTML link tag - W3Schools
The <link> tag defines the relationship between the current document and an external resource. The <link> tag is most often used to link...
Read more >Feature Requests - WP Fusion
Idea would be simply to have an option in the UI to auto-apply tags when a user clicks through one of the tracked...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it is better if you mention the issues at https://github.com/bezoerb/inline-critical/issues
The library is about saving bytes / compressing your input, not performance improvements by adding code.