Serve CSS and Javascript even faster: improved Rails bundled_assets plugin

posted: April 27th, 2007 · by: Sven

in: Programming, Css & Html · tagged as: , , , , , , ·  12 comments »

I recently showed a Rails plugin that allows to transparently bundle your various CSS and Javascript resources (“assets” in Rails talk) into just one single CSS and Javascript file respectively.

I received some quite positive feedback on it and from various discussions some improvements have emerged that are now available in the repository.

Thanks go especially to Witold Rugowski who pointed me to the execution times of the Ruby implementation of JSMin with larger Javascript bundles. He also found a small bug in Uladzislau Latynski’s otherwise flawless JSMin implementation in Ruby that we are using by default.

Read the rest of this entry

artweb design
Sven Fuchs
Grünberger Str. 65
10245 Berlin, Germany


http://www.artweb-design.de

Fon +49 (30) 47 98 69 96
Fax +49 (30) 47 98 69 97