Everything on caching.
6 articles tagged caching, sorted newest first.
The Serializer Nobody Configures: igbinary for Laravel Cache and Queue Payloads
Laravel's Redis connection has a serializer option that is unset by default. Turning on igbinary can cut cached payloads by a third — and will silently orphan every existing key if you do it wrong.
The Cache Hit You Still Paid For: Laravel's Memo Driver and Tagged Memoization
A Redis cache hit is still a network round trip. The memo driver collapses eleven reads of the same key into one — and as of Laravel 13.33 it finally works with tags.
Serve Laravel's Vite Assets from a CDN with Immutable Cache Headers
Assets are the last thing anyone moves off the origin, and the move fails in two identical-looking ways. Here is the ASSET_URL one-liner, the cache header table, and the deploy step that stops mid-session users seeing a white screen.
Migrate a Laravel App from Redis to Valkey Without Changing a Line of Code
A Laravel Valkey migration runbook: what actually differs, how to move the persisted data instead of cold-starting, and how to sequence cache, sessions and queues so a mistake costs a cache miss rather than a lost job.
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.
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.