0061-laravel-performance-caching
CommunitySpeed up Laravel with correct caching
Software Engineering#performance#caching#laravel#cache invalidation#cache tags#cache locks#query caching
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It reduces application load and response times by caching framework outputs and expensive value/query results, while also preventing stale or incorrect data through explicit invalidation, scoping, tags, and locks.
Core Features & Use Cases
- Framework cache commands: Use Artisan to cache routes, configuration, and compiled views for faster request bootstrapping.
- Value and query caching: Cache results with time-to-live (TTL) using remember-style patterns to avoid repeated expensive work.
- Correctness-focused strategies: Apply stable, namespaced cache keys; use cache tags for grouped invalidation; and use locks to prevent thundering herds during concurrent regeneration.
- Use Case: When listing users per tenant and page, cache paginated results scoped by tenant and page and invalidate the related set when user data changes to keep UI and APIs consistent.
Quick Start
Run the relevant Artisan cache commands for your deployment, then wrap your expensive lookups with remember-style caching and define an explicit invalidation trigger for any related writes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: 0061-laravel-performance-caching Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0061-laravel-performance-caching 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.