I use a Ram Disk for the Microsoft Edge and Mozilla Firefox cache. Drives don't like many small files, they wear out faster, especially SSDs, and the Temporary Internet Files (TIFs) are just that. I have a small partition (D:) at the edge of the internal HDD for the pagefile and nothing else.
Here is a comparison between my internal HDD (partition E:) and a Ram Disk (R:).

The Ram Disk is 512MB so a block of 256MiB was used. The HDD has respectable read/write speeds for large sequential files. However I am not interested in those types of files – for TIFs 64K and 32KB files need looking at. Here the HDD is struggling. The Ram Disk also sees a drop for small files, but nothing as dramatic as with the HDD.
The Ram Disk is writing 556 times faster than the HDD for 32KB files. For reading, the Ram Disk is 676 times faster.
From our perspective, using a Ram Disk is as if the browsers aren't using a cache.

I have also relocated the Environment Variables, TEMP and TMP, to the Ram Disk.
The Ram Disk software used is by SoftPerfect and I have used that for many years. The latest version, 4.3.3, improved the read/write performance for small files; which is good news for TIFs. Their website has a free utility, cacherelocator.exe, to easily relocate the caches of Edge, Firefox, and Chrome. The Ram Disk software has an easy TEMP/TMP relocator.
Some of you will already be doing the above, but I bet a lot of you are not.