spiritix/lada-cache
Redis-backed, fully automated query cache for Laravel. Transparently accelerates Eloquent and Query Builder with granular, automatic invalidation (rows/tables), scalable for clusters, with controls to include/exclude tables and optional Debugbar insights.
Adopt if:
WHERE clauses, pagination, or filtered lists).Look elsewhere if:
UNION, EXISTS).For Executives: "Lada Cache is a turnkey Redis-based query cache that can cut database load by 10–95% with zero code changes. For our [high-traffic feature], this means faster responses, lower infrastructure costs, and seamless scaling. It’s like adding a turbocharger to our database—automated, scalable, and backed by Redis’s distributed power. The MIT license and active maintenance make it a low-risk investment."
For Engineering: *"This package intercepts all Eloquent/Query Builder calls, caches results in Redis, and invalidates granularly (row/table-level) when data changes. Key benefits:
insert/update/delete automatically).For Architects: *"Lada Cache delegates to Redis for distributed caching, avoiding RDBMS limitations (e.g., MySQL Query Cache’s coarse invalidation). The architecture:
SELECT * FROM products WHERE category_id = ?). Not a silver bullet for one-off analytics or large blobs."*How can I help you explore Laravel packages today?