ActionView::Helpers::CacheHelper — (from /home/chedong/.local/share/rdoc)
| Use Case | Command | Description |
|---|---|---|
| 📦 Cache a block of view content | cache |
Wraps a view block with caching |
| 🔑 Generate a fragment cache key | cache_fragment_name |
Creates a cache key for a fragment |
| ✅ Conditionally cache (if true) | cache_if |
Cache only if the condition is true |
| 🚫 Conditionally cache (unless true) | cache_unless |
Cache only if the condition is false |
cachecache_fragment_namecache_ifcache_unlessGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-02 02:45 @216.73.217.9
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format