Experience using RAM space for VFS cache

I was just wondering if people had experience, and how it went, using ram-like disks for VFS cache. On linux, I am thinking things like /dev/shm and on macOS, you can create a ram-based disk in terminal.

Obviously, you'd want to set limits judiciously to not use all of the memory, but it would enable even safer scratch space for crypt, and faster for everything else.

Has anyone experienced this?

For reference, I found Vfs cache to ram where it is discussed with some pros and cons but (a) that is really old and (b) there wasn't much discussion of how well it worked.

Thanks!