django_compressor
django_compressor copied to clipboard
Split into multiple files to avoid CSS files larger than what IE supports
Hi,
Internet Explorer stops parsing CSS files after reading 278kb: http://stackoverflow.com/questions/12520666/ie8-9-maximum-bytes-for-css-file
When django-compressor compresses all the CSS files, I think it should take this into account. The best way would probably be to add a setting like ENABLE_IE_SUPPORT (True/False) that, if True, would split the generated CSS file into smaller ones weighing less than those 278kb.
It could also take into account the limit set by IE of 4095 (or 4096?) CSS selectors per file.
What do you think?
the same request!!!