cleanup assets cache so it's not unbounded