The Laravel model cashing package is a package made by Mike Bronner, who automatically adds model cashing to model queries.
- Automatic caching.
- Automatic, self-overriding model query.
- Clears all cachings for providers that do not support automatic use of Caching tags.
This package was created in response to a client project with complex, nested forms with many selects that resulted in more than 700 database queries on a page.
For best performance, you should use a caching provider such as Redis or Memcached. When all model queries and relationships are caching, you will see a nice performance boost and performance may vary depending on your use case.
For more information, see GitHub check the warehouse.