frappe-core-cache · v2.0 · 2026-03-20 · sha256 5989651939bca849

frappe-core-cache v2.0A

Immutable. This exact content is served forever at /api/v1/blob/5989651939bca849.

---
name: frappe-core-cache
description: >
  Use when implementing Redis caching, cache invalidation, or distributed locking in Frappe.
  Prevents stale cache bugs, race conditions from missing locks, and memory bloat from unbounded cache keys.
  Covers frappe.cache(), @redis_cache decorator, cache.get_value/set_value, cache invalidation patterns, frappe.lock, TTL strategies.
  Keywords: cache, Redis, redis_cache, invalidation, locking, frappe.cache, get_value, set_value, TTL, distributed lock.
license: MIT
compatibility: "Claude Code, Claude.ai Projects, Claude API. Frappe v14-v16."
metadata:
  author: OpenAEC-Foundation
  version: "2.0"
---

# Frappe Cache & Locking

> **STATUS**: Stub - content pending V2.5 development phase.

## Quick Reference

_Content to be developed._

## Decision Tree

_Content to be developed._

## See Also

_Cross-references to be added._