Can Rails use a session store without putting anything on the client, no session_id?

437 Views Asked by At

I'm trying to build an app with no javascript or client session. I've used Redis and find it to work well. I would simply rather not put any session_id on the client. Can this be done?

Found links to the types at ActiveSupport::Cache

 # Rails 6.0.3.2
 # config/development.rb
 config.action_controller.perform_caching = true
 config.action_controller.enable_fragment_cache_logging = true
 config.cache_store = :redis_cache_store, { driver: :hiredis, url: 'redis:127.0.0.1:6379/0' }
 config.session_store :redis_store # or :cache_store, :redis_cashe_store ?

         # ActionDispatch::Session::RedisStore
         # ActionDispatch::Cache::RedisCacheStore
0

There are 0 best solutions below