Monday, October 2, 2006

Who wants faster ERb rendering for free?

Posted by David

Stefan Kaes from RailsExpress has recently released a Rails plugin that greatly reduces the time Rails spends for rendering ERb templates. He’s now looking for help to get the code out of beta.

The basic idea behind the plugin is to improve rendering speed by partially evaluating the code produced by ERb at template compile time. This is especially helpful for pages that contain many calls to helpers that make use of Rails’ route generation, because most routes can be resolved at template compile time.

Stefan has reported some data on the speedups obtainable which looks very promising.

He has set up Trac for you to submit bug reports, feature requests and patches.