Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-caching-strategy

星标21
分支2
更新时间2026年6月1日 18:03

Caching strategy for Ruby on Rails 8 — the cache layer hierarchy (HTTP/CDN → fragment cache → low-level cache → DB query cache), Solid Cache as the Rails 8 default, when Redis still wins (distributed pubsub + Sidekiq co-location), cache key design (versioned, content-addressed), Russian doll caching for nested views, Rails.cache.fetch patterns, cache stampede prevention via race_condition_ttl, HTTP caching with stale? / fresh_when, when caching is the wrong answer (fix the query first). Use when the user mentions caching, Rails.cache, Solid Cache, Redis, Memcached, fragment cache, low-level cache, cache_key, cache_version, race_condition_ttl, ETag, Last-Modified, stale?, fresh_when, or asks how to speed up a slow endpoint and the fix isn't a query change.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly