Luckily, the partitioning of browser caches on a per domain basis as pioneered by Safari has now made its way to Firefox (I think it's been released) and I presume will eventually be turned on by default in Chromium: https://www.chromestatus.com/feature/5730772021411840