In the actual development of the website, we often find IE browser restrictions on resources, which makes people very depressed, do not understand the time, we will waste a lot of time to catch worms. Now we're going to list IE 's restrictions on page resources to avoid these limitations in development.
- Only the introduction of 3-layer @import CSS files is supported;
- Support only @import 32 CSS files (using link to introduce the same as this, you can view this test page, the 5th test is noteworthy);
- When using the data URI, a maximum of 32K base64 encoding is supported (only IE8,IE6 and IE7 do not support the data URI);
- URL length maximum 2048 characters;
- The number of selectors per style label or CSS file cannot exceed 4095 (refer to Qin Ge's article, many places that the CSS file size limit for IE is 288KB, Qin Ge's test denies this);
- Cannot download files larger than 2GB (seemingly IE8 solves this problem);
- Supports a total of 300 cookies;
- Each domain name allows up to 20-50 cookies (IE6 allow 20, IE7 after patching can use 50), (other browsers are mostly limited, such as opera limit of 30, Firefox limit 50, and safari/webkit no limit);
- Can only read up to 4,096 bytes of cookies, write more than 5118 bytes of cookies head will be wrong.
There should be other restrictions, please add.