I would not use a ram disk for files that are destined for the ssd unless you have an abundance of free memory (not rpi) . Linux uses most free memory for the page cache very efficiently. There are cases where a ram disk can help, but it is more likely to hurt performance than help unless you understand the access patterns and usage scenarios very well.