Slide 23
Slide 23 text
CookieStore vs CacheStore 〜Pros & Cons〜
the CookieStore - which stores all session data in the cookie itself (the ID is still
available to you if you need it). This has the advantage of being very lightweight, and it
requires zero setup in a new application to use the session.
https://guides.rubyonrails.org/action_controller_overview.html#session
CookieStore CacheStore
Pros 外部リクエスト不要 Revoke が容易
Cons Revoke が難しい
DBアクセスがオーバーヘッド
になる