Skip to content

Use redis cache store in production

Vincent Agnano requested to merge redis into recette

Created by: n-b

refs #1806 (closed)

A Redis addon is setup on Scalingo. To experiment, I started with the free plan (64MB). Scalingo sets the SCALINGO_REDIS_URL and aliases it as REDIS_URL. Additionally, in the Scalingo Redis Dashboard, in the advanced section, “Cache Mode” is enabled.

Links: https://doc.scalingo.com/databases/redis/start#cache-mode https://doc.scalingo.com/languages/ruby/rails/redis-cache https://guides.rubyonrails.org/caching_with_rails.html#activesupport-cache-rediscachestore

Close #issue_number

// Description de la fonctionnalité ou du bug

Checklist avant review:

  • reparcourir le code rapidement pour voir les problèmes évidents (fichiers touchés inutilement, debug logs qui trainent…).
  • Tester la fonctionnalité sur la review app

Merge request reports