Cache on ram disk

I am trying to limit writes to my SSDs for endurance. Is there any reason to have the cache for duplicacy (docker) written to the SSD? Unraid provides a ram disk at /dev/shm so I’d like to put the cache on there if it won’t cause any problems.

These writes are insignificant for the purposes of affecting ssd life. But yes, you can send them to RAM disk. Duplicacy does not assume anything about that location, it can be on a different filesystem