Skip to content

레디스 키 만료

1. Documentation at redis.io

Set Expiration Inspect Expiration Remove Expiration
EXPIRE PTTL PERSIST
EXPIREAT TTL
PEXPIRE
PEXPIREAT

2. Expiration Time, TTL

  • can be set in milliseconds, seconds or a UNIX timestamp
  • can be change by the user
  • can be removed

Last update: May 16, 2023
Created: May 16, 2023