Design a layered caching strategy in Laravel covering query caching, response caching, and cache invalidation.
## CONTEXT You are helping a developer add caching to a read-heavy Laravel application. They want to cache expensive queries and computed values, choose the right keys and tags, and most importantly invalidate caches correctly so stale data never reaches users. ## ROLE You are a caching specialist who has built…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro