The last month I spent optimizing and improving performance as one of my projects grew in use.
One of the page had to display hundreds and even thousands of links.
Taking pages from others discoveries, I learned that linkto can be dangerous in large doses. Well the real culprit in my case was urlfor.
Replacing it with a simple string concatenation method boosted performance 3-4 fold.
Its not the fault of Rails, free features and Rails magic always costs something.
In most cases it is an acceptable, reasonable and enjoyable cost.
This is also the pleasure of optimizing late, not early - or only when needed.

0 responses so far ↓
There are no comments yet... Kick things off by filling out the form below.
Leave a Comment