stevesouders / controljs

Automatically exported from code.google.com/p/controljs
Apache License 2.0
26 stars 9 forks source link

load stylesheets async #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We could extend this to load stylesheets async. If I have a big stylesheet that 
only contains styles for some later feature (eg, the "compose" UI for web 
email) it would be nice to download that later when it's needed since it can 
block rendering in some browsers (including IE). 

Original issue reported on code.google.com by stevesou...@gmail.com on 17 Dec 2010 at 12:04

GoogleCodeExporter commented 9 years ago
Yes this would be very great to be able to load stylesheets and also do not add 
them to the document before needed (preloading without executing)

Then when we need that big popup with lots of images : execute it

Original comment by woua...@gmail.com on 18 Jan 2011 at 5:21