Caching a middleware response during batching - tRPC