function sendCache(send, node, msg) {
    const toSend = []

    Object.values(node.cache).forEach( (cachedMsgs) => {
        // toSend.push(...cachedMsgs)

        cachedMsgs.forEach( (cachedMsg) => {
            if (mod.RED === null) return

            // Has to be a clone to prevent changes from downstream nodes
            const clone = mod.RED.util.cloneMessage(cachedMsg)

            // Add replay indicator
            if (!clone._uib) clone._uib = {}
            clone._uib.cache = 'REPLAY'

            // Add socketId if needed - only for uib control msgs
            // TODO Add flag override
            if (msg.uibuilderCtrl && msg._socketId) {
                clone._socketId = msg._socketId
            }

            // send( clone )
            toSend.push( clone )
        })
    })

    send([toSend])
}
Send the cache
@param {Function} send Reference to the Node's send function
@param {runtimeNode & cacheNode} node Reference to node instance
@param {object} msg Reference to the input message