This module solves the Internet Explorer limitation of loading not more than 31 CSS files per HTML page (http://support.microsoft.com/kb/262161).

The module will only kick in when it is needed, and remain silent otherwise.
This means, as long as Drupal's CSS aggregation is enabled, or your module count is very small, you will not notice any difference.

No configuration needed, just install / enable the module.

Alternatives

IE CSS Optimizer: It does more or less the same as this module, with some subtle differences in implementation.

As an additional feature, it can aggregate all stylesheets except for those in specified themes or in the modules. Quite convenient, eh?

Advanced CSS/JS Aggregation does everything that Unlimited CSS does, and a lot more. (not tried in practice yet)

It is definitely heavier, but do you care?

Differences to IE CSS Optimizer

IE CSS Optimizer uses @import instead of <link> only if there is really more than 31 stylesheets. Unlimited CSS has a lower "magic number" (22 max), considering that other modules or themes might add stylesheets in other ways than drupal_add_css().

If IE CSS Optimizer hits the magic number, it will use a combination of @import and <link>. Unlimited CSS will use all @import instead. Which method is preferable, would require further research.
Anyway, if we have custom stylesheets in the mix (which were not added with drupal_add_css), these will probably still be added with <link>, having us end up with a mix of @import and <link>.

As long as we are below the magic number (which is typically the case if CSS aggregation is disabled), both modules behave the same: All stylesheets will be embedded with <link>.

IE CSS Optimizer has options to optimize/aggregate all CSS files except for those in the module or theme being actively developed. Unlimited CSS does not have such options.

Both modules use hook_preprocess_page() to do their job, and are subject to the same potential conflicts with other modules.

Troubleshooting

If this module does not work as expected, it is very likely that you have another module or theme installed that overrides the stylesheet settings in hook_preprocess_page. If you use the latest -dev, you will find a copy of the modified $vars['styles'] in $vars['styles_unlimited_css'].

Dev version

The dev version has a bit of refactoring, and provides a copy of the modified $vars['styles'] in $vars['styles_unlimited_css']. This could help you if other modules override the settings from unlimited_css.

Credits:

This project has been sponsored by Nuvole and Youth Agora.
Recent development by dqxtech.net.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.3 tar.gz (8.2 KB) | zip (9.31 KB) 2011-Jun-05 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (8.21 KB) | zip (9.32 KB) 2011-Jun-06 Notes

Project Information


Maintainers for IE Unlimited CSS Loader

  • donquixote - 5 commits
    last: 35 weeks ago, first: 1 year ago
  • antoniodemarco - 4 commits
    last: 1 year ago, first: 2 years ago

Issues for IE Unlimited CSS Loader

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 22 May 09
nobody click here