You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no ways to delete not expired key in this package.
If you use my similar package memory-cache-pro it’s possible by following the steps below.
// Get the cacheconstvalue=cache.get(‘key’);// Delete current keycache.delete(‘key’);// Set a new key with a new timeconst1hour=1*1000*60*60;cache.put(‘key’,value,1hour);
how do i get cache and update time expired? Thank you!
The text was updated successfully, but these errors were encountered: