A package for "clean code" and "better performance"
分享链接:https://github.com/imanghafoori1/laravel-w...
Have you ever seen a shop that shows the10 top most salled products?
The database query for getting the most salled products is often complex and heavy involving table joins...
But wait a minute! Is it necessary to re-calculate the most saled products for each and every page visits??
No, because the result seldom changes.
With this package We can easily (be sure EASILY )cache the html output that particular part of the page and avoid the database query and even re-rendering blade files for each and every visit... resulting in much faster response time and elaviating the server load.
Take a look at Readme file for more...
Good lock ;
推荐文章: