spatie/laravel-responsecache
Caches full Laravel responses to speed up apps. Automatically stores successful GET HTML/JSON for a configurable time and serves cached output on repeat requests. Supports per-route middleware, custom rules, and optional stale-while-revalidate style caching.
posts tags when a post updates)For executives: "This package cuts server costs by 30-50% and boosts page load speeds by 4-10x for our most visited public pages—without changing our codebase. It’s a proven solution used by 10k+ Laravel apps that handles traffic spikes effortlessly, directly improving user retention and conversion rates."
For engineering: "It’s a zero-configuration middleware that integrates seamlessly with Laravel’s cache system. We can cache specific routes in 5 lines of code, invalidate by tags on model updates, and safely serve stale content during refreshes. With full test coverage and 2.7k+ stars, it’s a low-risk, high-impact performance win."
How can I help you explore Laravel packages today?