My Blog Posts

Laravel Model Caching Pack

Laravel Model Caching Pack

The Laravel model cashing package is a package by Mike Bronner, who automatically adds model cashing to model queries.

  • Automatic caching.
  • Automatic, self-instilling model query.
  • Cleans all caching scours for providers that do not support automatic use of Caching labels.

This package was created in response to a client project with complex, nested forms with many select selections 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 taken to caching, you will see a nice performance boost and may vary in performance depending on your usage situation.

For more information Github Check the tank.

Share this article

Comments (0)