Firefox Flatpak RamDisk in Silverblue

How do RamDisk for Firefox Flatpak version in Fedora 42 Silverblue?

I found in google some answer, but nothing for Firefox Flatpak and Silverblue"

edit: I mean, use the RAM memory for the Firefox temp cache files

Not Silverblue-specific, but try setting these in about:config -

browser.cache.disk.enable - set it to false
browser.cache.memory.enable - check it is set to true (by default it should be)
browser.cache.memory.capacity - set it to 1048576 for a 1 GiB maximum cache size, or modify for whatever size you want (it’s expressed as the number of kiB).

1 Like

Is it possible to RamDisk the entire OS cache?

… Like temp files etc.

Generally the /tmp dir is indeed in RAM.

Try df | grep /tmp

On my system I see:

tmpfs                        16387988        36  16387952   1% /tmp

The tmpfs in the first column means that it’s in RAM.

1 Like