I currently have Firefox set up so that a persistent cache is not stored after closing Firefox. I only have the memory cache enabled which it empties when Firefox is closed.
Sometimes I need for security reasons to empty the memory cache but it is very inconvenient to restart Firefox, but I am currently forced to.
So I was wondering if there is a way to empty Firefox's cached items in memory while Firefox is still running and without causing any problems? If this is possible without causing issues in Firefox, then I would also like to know if this would be in any way less effective than closing Firefox and have it empty the memory cache the normal way?
I am running Ubuntu GNOME 16.04 with GNOME 3.20 and Firefox 47.