Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
639 views
in Technique[技术] by (71.8m points)

internet explorer 9 - Is there a CSS file size limit in IE9?

I was trying to research a file size limit in IE9. There are many anecdotal links about one existing (mostly 288KB limit ones), but I could not find any proper documentation on any of them. There were approximately as many people saying that it exists as people who said it does not exist.

Some links on both sides:

Thinking it exists:

Thinking it does not exist:

The official Microsoft documentation does not state this limit, but it does not refute its existence either. I made a test file that was 1 CSS rule, a lot of white space to get it to 300KB, and then a second rule. The second rule definitely was applied. I'm still confused where this notion of this 288KB limit came from though.

Given that it is now 2018, there should be some consensus on this limit, right? Does anyone know if this limit exists or not? If it does, I'd like some kind of formal proof of it. If it doesn't, I'd at least like to know where the idea came from.

Please do not mark this as a duplicate unless you give me a link that definitively gives some source as to what this limit is, or proves that it doesn't exist.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

After extensive testing and research, I have to conclude that no such limit exists for IE9. Why there are many rumors on the internet about it, I have no clue, but I could not find any official documentation of the fact. Any suggestion of this fact has just been unsupported Stack Overflow comments or random blog posts. After making my own CSS that was over 288KB, and seeing it successfully load all rules, I don't see how this limit could exist. It's possible these people were hitting the selector limit, but I can't investigate further as there are no files that exist that are over 288KB, don't hit the selector limit, and are purported to not fully load in IE9. I hope future developers can see this question, and not waste as much time on this random IE9 tidbit as I have.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...