How to configure a cache to RAM or another disk?

How to configure a data disk that is read-only, and all the writes that you want to do on it are redirected to another disk, Windows Server 2016?