Level 122
cache a timestamp along with the data?
1 like
Hello, I want to cache some sum() and average() queries to display on an admin dashbord, stuff like clients, total views etc.
The idea is to optimize this by adding cache and removing the cache everytime a change happens. Is it possible to get when the cache was created and displayed it like "Last updated 5 minutes ago"?
cache a timestamp along with the data?
Please or to participate in this conversation.