IE CSS Optimizer

JohnAlbin - June 9, 2009 - 18:06

Internet Explorer will refuse to load more than 31 linked stylesheets. Unfortunately, the alternative to load styles using @import statements (which Drupal 5 used), has bad performance implications.

The fix for this on production sites is to simply enable the “Optimize CSS files” option on admin/settings/performance. Unfortunately, that option makes developing CSS for themes or modules a true PITA. This module adds a developer-friendly solution to the “Optimize CSS files” feature; it aggregates all stylesheets except for those under active development.

6.x-1.x-dev release

The current release only has an option to aggregate CSS files in order to help Theme developers. I will be attempting to add an option to help with module CSS development shortly.

Private Download Method

Note that Drupal’s CSS optimization (and this module) doesn’t work when files are transferred using Drupal 6’s private download method. This incompatibility is fixed in Drupal 7.

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-beta12009-Jul-198.56 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Jul-209.2 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.