isCache() method
generalov-viktar opened this issue · 2 comments
generalov-viktar commented
How to find out whether data is being taken from the cache or from the database?
For example, there might be an isCache() method that returns true / false.
So that you can perform the action if not from the cache.
rennokki commented
Cache::remember
does already under the hood prior checks for cache set/get. Can you tell me more about your use case? ⭐
stale commented
This issue has been automatically closed because it has not had any recent activity. 😨