Level 23
manually: you create caching in your controller.. then you could in your models boot event invalidate the cache..
package: https://github.com/GeneaLabs/laravel-model-caching something that i learnt about today. looks good give it a try..
Given I have a hotel listing page. And i'm listing 15 hotels in a single page (using pagination).
How should I approach caching with the given scenario?
Also, how should I handle cache invalidation when a new hotel is added or modified?
Please or to participate in this conversation.