diff --git a/Procfile b/Procfile index ba11bc27af..5bd98f6681 100644 --- a/Procfile +++ b/Procfile @@ -1,5 +1,5 @@ # Foreman Procfile. Start all dev server processes with: `foreman start` -rails: bundle exec rails s -p 3000 +rails: DEV_CACHING=true bundle exec rails s -p 3000 webpack: ./bin/webpack-dev-server -sidekiq: bundle exec sidekiq -q mailers -q default +sidekiq: DEV_CACHING=true bundle exec sidekiq -q mailers -q default diff --git a/config/environments/development.rb b/config/environments/development.rb index c95bf97549..72eb36d5eb 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -13,8 +13,6 @@ Openfoodnetwork::Application.configure do config.action_controller.default_url_options = {host: "localhost", port: 3000} - config.session_store :cache_store, key: "_sessions_development", compress: true, pool_size: 5, expire_after: 1.year - # :file_store is used by default when no cache store is specifically configured. if !!ENV["PROFILE"] || !!ENV["DEV_CACHING"] config.cache_store = :redis_cache_store, {