@feld and GC of "old" containers doesn't even need to be that complicated either, only keep the last 10, or say anything used in the last 2-4 weeks or some blend as well.
and it does look like the plugin is pure JS, so seems like it'd be totally doable.