How to manage data cache when disconnected from the Cloud

There are quite a few topics covering this scenario on the forum. example: Node-red-contrib-msg-queue - Only storing not forwarding w/ active connection - #11 by Colin