Added readonly flag for s3 cache