Monday, July 23, 2007

Wanna make your Rails app faster?

(courtesy: http://scott.elitists.net/sessions.html)

Get rid of sessions!
Yes you can get rid of sessions for apps that run too slow for your comfort. Ofcourse flash errors won't show up and other stuff that uses sessions. But definitely there are other ways to do flash errors and logins and other "session" stuff in a sessions disabled environment.

So go on and say
session :disabled => 'true'
in you
r application controller and feel the difference

No comments: