1、用redis客户端登录redis
1、redis-cli -h {host} -p {port}
2、auth password
2、设置key的延时时间
http://doc.redisfans.com/key/expire.html
EXPIRE cache_page 30
1、用redis客户端登录redis
1、redis-cli -h {host} -p {port}
2、auth password
2、设置key的延时时间
http://doc.redisfans.com/key/expire.html
EXPIRE cache_page 30