On update, only flush the updated model from the cache - not all of cache
AlaaHam91 opened this issue · 5 comments
When we update some Model Instead of flushing the cache of this model, All the Models cache is flushed even though I have this parameter set to TRUE.
I call this trait in each model instead of writing them in every one.
Consider using selective cache invalidation.
I need to flush all cache queries for the updated model only, not specific queries in that model,
since that the default base tag for each model is the class name.
"In some cases, you might not want to invalidate the whole cache of a specific model" -> in my case I need this, but all cache for all models were flushed.
@rennokki
Any update dear ?
Sorry for these big delays. Usually, I'm doing open-source in my free time. It took me some time to investigate and didn't find anything resembling this bug. Do you have a specific example I can test out?
This issue has been automatically closed because it has not had any recent activity. 😨