Laravel Model Caching Pack

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.

  Quote

KARABAY A, 2020 . Laravel Model Caching Package,

https://www.karabayyazilim.com/blog/php/framework/laravel/laravel-model-caching-paketi-2020-02-17-224313

(Accessed February 17, 2020).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts