This takes advantage of the new bulk method in more places to invalidate caches for many keys at once (and then to stream that over replication).
Co-authored-by: Patrick Cloke <patrickc@matrix.org>