rails/solid_cache
A database-backed ActiveSupport::Cache::Store observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 95
- Release rhythm 56
- Longevity 98
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 16.0
- age_days: 1385
- days_rel: 298
- days_push: 33
- n_releases_24m: 7
Adoption not part of the score
1033 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Solid Cache is a database-backed ActiveSupport::Cache::Store for Rails that stores cache entries in SQL databases (SQLite, MySQL, PostgreSQL) instead of memory-only stores like Redis or Memcached. It leverages fast SSDs to enable much larger caches with negligible access-time penalty, and ships as the default cache store in Rails 8.
Use cases
- replace Redis or Memcached with a database-backed Rails cache store
- keep a very large application cache on disk instead of limited RAM
- simplify Rails infrastructure by removing a separate cache server
- configure a production cache store for a new Rails 8 app
- store cache entries in SQLite, MySQL, or PostgreSQL
- set cache size and expiration policies like max_age and max_size
When to choose
- you run Rails and want a durable, large cache without operating Redis or Memcached
- your cache is bigger than fits comfortably in memory and SSD latency is acceptable
- you want fewer moving parts in your production stack
When to avoid
- you need microsecond-latency caching for extremely hot keys
- your app is not Ruby on Rails
- you require advanced Redis features like pub/sub or distributed locks from your cache
Facets
library · maturity stable
caching database web-development backend databases developer-tools ruby cross-platform rails active-support cache-store sql-backed disk-cache
1 source
- readme: https://github.com/rails/solid_cache · fetched 2026-08-28 · 456ccdd0ec8e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rails/solid_cache | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="rails/solid_cache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem