Safari causes massive swap? what about this?
If so, there won't be an issue for me using other browser than Safari and I'd be totally fine switching to Edge as it works well with Chrome extensions? Though I have to say, I'm 'tab abuser' I usually have opened like 20 tabs in general (mostly articles, dictionaries, no vids) + spotify + word/excel. That's basically what I do on daily basis.
Safa
Your current daily swap is what I'm hoping to achieve as it seems very reasonable amount of swap per mouth. What are exactly the tweaks you've applied beside extensions in browsers?
I'm currently using Brave to type this, with 76 tabs open (I do software development and so I constantly have countless tabs open for research). Activity monitor is showing around
1.5GB used by Brave in total as of writing this. Brave is a Chromium browser just like Edge and so the same sort of logic applies, though from my experience this browser is the lightest on memory from the browsers I've tested, and I also very much enjoy it's built in privacy and ad blocking features.
Anyway, the most important extension to get is a tab discarding extension - the one I use and recommend is
Auto Tab Discard. Tab discarding is automatic, seamless, and you barely notice it as pages load back very fast given you have a decent connection. You can open even a million tabs if you want and your memory usage will stay consistently low. Wherever you scroll to on a page is remembered so when you switch back to a discarded tab you don't really notice that it was ever released from memory. And lastly any pages that need to stay open i.e. they're receiving text input or playing media, they do not get discarded.
Another extension to get if you're not using Brave or another browser with built in ad/tracking blocking is uBlock - also reduces memory consumption of websites.
There are 2 main problems with safari as of today. Firstly, it is very excessive on caching. When you close a tab, instead of releasing the memory of those tabs it puts most of it into 'Safari Cached Web Content' - then as you proceed to open new tabs, very often your memory usage temporarily spikes as new tabs take up memory, and the cached content is also in memory - this often causes excessive, unnecessary swapping.
Secondly Safari has a very limited extension store - the only tab discarding extension I can find for Safari doesn't seem to function properly.
I've done various other tweaks to the system to get my writes to a minimum - but as I see it now I believe simply changing browsers as such is enough to fix the writes. If you happen to still want to reduce them further I'd be happy to detail them from my past posts in this thread - they include changing pmset settings in terminal, reducing spotlight indexing, and preventing Time Machine snapshots until you actually make a backup.