Schepp / CSS-JS-Booster

An easy to use stand-alone PHP-Library (but at the same time also a Wordpress plugin) that combines, optimizes, dataURI-fies, re-splits, compresses and caches your CSS and JS for quicker loading times.
http://twitter.com/derSchepp
GNU Lesser General Public License v3.0
304 stars 38 forks source link

Rasing 24K limit if lazy-loading? #29

Open rodneyrehm opened 14 years ago

rodneyrehm commented 14 years ago

Could the 24KB limit be raised if the page lazy-loads data-uris?

Schepp commented 14 years ago

For the moment 24K will stay the maximum, as IE8 showed to only support this maximum size for data URIs (even if officially 32K are listed). And it also makes sense not to dataURIfy larger files as the CSS becomes unbearably large.

What I will do is shift all background-image-declarations into the lazy loaded file so that large normally declared images do not block the page either. But that is still a moment away currently (quite complex).