I’m wondering whether to put all CSS filters in a separate IE-only stylesheet, meaning an extra HTTP request, or just leave them in one big style sheet. Even though the filters are ignored by non-IE browsers, I imagine they would still have to be at least identified. Is there noticeable overhead for this?
I’m wondering whether to put all CSS filters in a separate IE-only stylesheet, meaning
Share
As far as I’m aware, no. Because the filters do nothing in any other browser, the only performance hit is almost immeasurable in the amount of time it takes to load the line of CSS and figure out that it does nothing. There’s no reason to worry about it.
If you’re really concerned about it, you can put the filters in a separate IE specific CSS file and wrap the
<link>element in a conditional IE statement.