In nostrudel it has a option called cache relay and when you enable it all events nostrudel sees is sent to the cache relay. Maybe make something like this and inside the localcache.consume send it to the local relay
Discussion
Yeah, I was thinking the same, but with sync capabilities to minimize traffic, like on https://github.com/nostr-protocol/nips/pull/826