Forum: Ruby on Rails db access or @session?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bogdan I. (Guest)
on 2006-01-21 13:15
(Received via mailing list)
Does it make sense to use the @session to store some values instead of
accessing the db on each request?
I am trying to optimize the most accessed area, a page that every
would access hundreds of times daily.

Pat M. (Guest)
on 2006-01-21 14:00
(Received via mailing list)
You should look into caching to enhance performance, rather than
storing everything in the session.
This topic is locked and can not be replied to.