Roland Bali
2006-Dec-18 15:08 UTC
How to store objects in memory between requests for all sessions?
Hi, I''m using a YAML file for localizing my webapp. As it works now the file is loaded and parsed from file for each request. Since the file does not change often I would like to have the parsed object in memory to avoid loading and parsing the object for each request. My sessions are stored in the database so that is not a good option since the object would need to be recreated for each request anyway. Is it possible to have a object in memory between requests and available for all sessions? Kind regards, Roland --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---