Cache needs to supported InputStream/OutputStream as well