We’re currently experiencing a high volume of inquiries and our response time could be up to 2 days. We apologize for the delay, and thank you for your patience. Our available time: 2 AM - 1 PM (Monday - Friday) (UTC+0 Timezone).
How to invalidate the cache for the selected model? CRUD generator create events and listeners like
UpdatedContentEvent
I thought that a method for clearing the model's cache should be attached to this event's listener. But I have not found it. How to clean model cache every time when model data updated ? :)
How to invalidate the cache for the selected model? CRUD generator create events and listeners like
I thought that a method for clearing the model's cache should be attached to this event's listener. But I have not found it. How to clean model cache every time when model data updated ? :)
You can add a listener to listen UpdatedContentEvent but we don't have option to clear cache by model.