caching-strategies

Installation
SKILL.md

Caching Strategies for Rails 8

Overview

Rails provides multiple caching layers:

  • HTTP caching: ETags and fresh_when for 304 Not Modified
  • Fragment caching: Cache view partials
  • Russian doll caching: Nested cache fragments with touch: true
  • Low-level caching: Cache arbitrary data with Rails.cache.fetch
  • Collection caching: Efficient cached rendering of collections
  • Solid Cache: Database-backed caching (Rails 8 default, no Redis)

Cache Store Options

Related skills

More from dchuk/rails_ai_agents

Installs
2
First Seen
Feb 13, 2026