Redis can automatically clean data from memory using keyword. we can tell Redis to remove data at seconds, milisecond and epoch time.
List Command to Key Expirations
TTL key : this comand return integer (seconds) expiration, -1 means key without TTL. exp: TTL totalemployee 19835 second= 5.50972222 hour IF we need to show expiry in […]