frappe-core-cache
OfficialLock-free, fast caching for Frappe apps
AuthorOpenAEC-Foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers prevent stale caches, race conditions, and unbounded memory growth by providing structured patterns for Redis-based caching, invalidation, and distributed locking in Frappe.
Core Features & Use Cases
- Standardized API surface for cache operations (set_value, get_value, hset/hget) with automatic key namespacing and optional TTL.
- Safe cache invalidation strategies and robust locking with frappe.lock to prevent concurrent execution.
- Guidance across usage scenarios (per-user caching, per-request caching, document caching, and cross-site keys) with practical examples and references.
Quick Start
Start by enabling TTL on external data cache and applying a sample invalidation on a common DocType to validate cache coherence.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: frappe-core-cache Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-core-cache Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.