Or enable private browsing all the time. You'll have to log into your accounts every time you open your browser, but that's not really a big deal with a decent password manager.
[1]: https://support.mozilla.org/en-US/kb/how-clear-firefox-cache...
[1]: https://support.mozilla.org/en-US/kb/how-clear-firefox-cache...
https://addons.mozilla.org/en-US/firefox/addon/temporary-con...
[1]: https://medium.com/@stoically/enhance-your-privacy-in-firefo...