BlessCSS / bless

CSS Post-Processor
blesscss.com
MIT License
282 stars 60 forks source link

File size is too large for IE8 memory #31

Closed danReynolds closed 9 years ago

danReynolds commented 10 years ago

I used bless to break up my stylesheets but the file that the first import links to is too large for IE8's memory when I try to run a search on it. Should all the files it breaks my css into be small enough to not encounter this issue?

paulyoung commented 10 years ago

Bless is currently only concerned with the number of selectors and not the file size.

ds125v commented 10 years ago

Does this affect the actual display of the site? I'm trying to track down an issue where the files are split in the same manner as bless does (though it's not actually bless doing the splitting) but where CSS after some point is simply ignored in IE8, in a very similar manner to the original 4095 selector limit.

The point where it stops acknowledging the CSS appears to be the same as the point where it stops displaying any more CSS in Internet Explorers 8's dev tools, which sounds (a bit) like what's being reported here.

Also, the initial file (the one with the imports) is the only one that shows up for me in IE8's dev tools, and the CSS it displays is a concatenation of the first imported file and some of the second imported file. It sounds like @danReynolds is seeing more than one file in this list, or some other part of IE8s tools. Is that file being linked to directly rather than imported via the first file?

ds125v commented 10 years ago

In case anyone else stumbles across this based on the same keywords I was Googling, I fixed my problems by using Ctrl-F5, now it shows the individual @imported CSS files individually in IE8s dev tool.

How and why this broke I have no idea, but it broke on three different servers running substantially different code, and I had to Ctrl-F5 on each of them to fix it. This depite the fact that the system I'm running puts cache-busting numbers into the URLs and those had been updated several times. I'm mystified, but it works now, so I'm happy.