Blankman
Blankman

Reputation: 267140

Does rails have in-memory caching w/o using memcache or redis?

Does rails have any in-memory caching option, other than me having to install memcache/redis?

I don't want to use the db or cookie based sessions.

How would I use 2 types of session stores i.e. cookies and say memcache/redis? Would I have to create 2 API's for this?

Upvotes: 1

Views: 770

Answers (1)

Lee Jarvis
Lee Jarvis

Reputation: 16241

How about ActiveSupport::Cache::MemoryStore? Check it out in the web guides

Upvotes: 3

Related Questions