add redis cache when write file to aliyun_oss