[Requested Feature] Load CSS Async
-
Hey,
Love the plugin. I think it would be even better than W3TC and WP rocket if these suggestions were implemented.
1) Option to flush redis cache
– Cloudways supports redis but you have to download a seperate plugin to use it. The breeze plugin doesn’t support flushing redis cache.
2) Option to load CSS Asynchronously
– FCP (First Contentful Paint) is becoming increasingly important for UX and SEO
– Breeze minifies and combines CSS but it is render blocking
– Fillament group released a simple way to load CSS async
– Breeze should have an option in the plugin to implement this:Here’s an example:
<!– Media type (print) doesn’t match the current environment, so browser decides it’s not that important and loads the stylesheet asynchronously (without delaying page rendering). On load, we change media type so that the stylesheet gets applied to screens. –>
<link rel=”stylesheet” href=”style.css” media=”print” onload=”this.media=’all'”>
<!– Fallback that only gets inserted when JavaScript is disabled, in which case we can’t load CSS asynchronously. –>
<noscript><link rel=”stylesheet” href=”style.css”></noscript>
Is it possible to add these options?
Thanks
The topic ‘[Requested Feature] Load CSS Async’ is closed to new replies.