CodepadME / laravel-tricks

The source code for the Laravel Tricks website
http://laravel-tricks.com
MIT License
966 stars 298 forks source link

[Purpose] Better home perform and save resources #97

Open sr2ds opened 5 years ago

sr2ds commented 5 years ago

Its wise we usage cache on home render?

My suggestion is save home rendered on file or memory cache (depends of host), and update this cache on Model events.

This way, we can show, for example, more items for first page.

screen shot 2019-01-21 at 10 11 59