Forum: Ruby on Rails MemoryStore vs Class Variables

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Shak S. (Guest)
on 2009-04-09 15:50
Apart from the possibility of changing the Store of the Rails' cache
without much code modification, what's the benefit of using a
MemoryStore backed cache over class variables to cache models?

Excuse the contrived question, I'm just trying to work out the best way
to cache some data.
This topic is locked and can not be replied to.