TAG ARCHIVE
Everything on Caching.
2 articles tagged Caching, sorted newest first.
Laravel AI SDK
Cut LLM Costs with a Semantic Response Cache in the Laravel AI SDK
Exact-match caching never fires on natural-language prompts. Here's how I cache LLM responses by meaning using embeddings, pgvector, and the Laravel AI SDK.
10 min read →
laravel
The Complete Guide to Caching in Laravel: Tags, Locks, and Invalidation
Most Laravel developers know Cache::remember and stop there. This guide goes the whole way: drivers, stale-while-revalidate, cache tags, atomic locks for stampedes, and an invalidation strategy that survives production.
18 min read →