recentpopularlog in


« earlier   
The Simplest Way to Load CSS Asynchronously
One of the most impactful things we can do to improve page performance and resilience is to load CSS in a way that does not delay page rendering. That’s because by default, browsers will load external CSS synchronously—halting all page rendering while the CSS is downloaded and parsed—both of which incur potential delays. Of course, at least a portion of a site’s CSS should be loaded before the page should be allowed to start rendering, and to get that initial CSS to the browser immediately, we recommend inlining (or HTTP2 server-pushing) the CSS. For sites with a small amount of overall, that alone might be enough, but if the CSS is large (say, bigger than 15 to 20kb), it can help performance to split it up by priority. Once split, less-critical CSS should be loaded in the background—AKA asynchronously. In this post, I aim to describe up our preferred way to do that these days, which has actually been around for years.
fridayfrontend  cssbasics  css  javascript  performance  async 
yesterday by spaceninja
The Simplest Way to Load CSS Asynchronously | Filament Group, Inc.
Filament Group helps companies design and build super-fast responsive sites and web apps that are simple to use and accessible to everyone
css  frontend  async  performance  load 
yesterday by wasser
mcollina/make-promises-safe: A node.js module to make the use of promises safe
A node.js module to make the use of promises safe. Contribute to mcollina/make-promises-safe development by creating an account on GitHub.
async  promises  nodejs  throw  error 
5 days ago by jimthedev

Copy this bookmark:

to read