ted serbinski – a blog about drupal, macs, productivity, health, and bmws

a blog about drupal, macs, productivity, health, and bmws

Speeding up CSS and JS in Drupal

Whoohoo! My JS aggregation patch has finally made it into core to join my other CSS preprocessor patch :-)

With both of those in, is there anything else we can do to still improve the speed and loading time of CSS and JS in Drupal?

You betcha! The next and final phase is to now gzip these aggregated files and the issue is ready, just needs an actual patch for core now.

With 4 more weeks, I hope we can get this final phase in.

I also want to get in some general improvements to drupal_add_css() and drupal_add_js() to support weights instead of the clumsy “type” for sorting, along with support for absolute paths, useful when yo have a static file server.

No comments

Add your comment

The content of this field is kept private and will not be shown publicly.
  • You can use Textile markup to format text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <img> <pre>

More information about formatting options

Subscribe to updates

don't worry, spam free!

Recent comments