This skill equips Claude with specialized knowledge of Laravel's caching ecosystem, enabling the implementation of high-performance data retrieval patterns. It provides expert guidance on implementing the stale-while-revalidate pattern using the flexible() method, managing complex invalidation with cache tags, and preventing race conditions through atomic locks. Designed for developers building scalable PHP applications, it ensures caching logic is robust, follows consistent naming conventions, and avoids common pitfalls like cache stampedes or serialization overhead.
主な機能
01Atomic lock management to prevent concurrent process execution
02Event-driven model caching with automatic invalidation logic
03Request-lifecycle memoization to minimize redundant store lookups
04Stale-while-revalidate implementation via Laravel's flexible cache
05Grouped cache invalidation using Redis and Memcached tags
0635 GitHub stars
ユースケース
01Optimizing database-heavy applications by caching expensive query results
02Implementing efficient data refreshing for high-traffic dashboards
03Managing distributed task locks in multi-server environments