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
visitor
would access hundreds of times daily.
Thanks,
Bogdan
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
visitor
would access hundreds of times daily.
Thanks,
Bogdan
You should look into caching to enhance performance, rather than
storing everything in the session.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs