set cache expire time