Hi all,
Another update to the development build vNext
of uibuilder.
This time a another brand-new node!
This node is a simple caching node. You can use it with or without uibuilder but when used with uibuilder, the node recognises uibuilder's cache control messages and so a client browser that (re)loads a uibuilder supported web page will automatically get a copy of the cached messages.
You can group cached messages by any msg property and can keep any number of messages per group. Obviously though, keeping too many cached messages is likely to eventually cause issues.
You can also choose between any of your defined context stores and so you can persist the cache if using a persistent storage module.
This is just an initial development release so there will be a few rough edges but the core features are working. There is also an example flow in the uibuilder import library. There are also a bunch of improvements on the backlog already to give better control over the cache from the Editor, and input control messages. In the meantime, this will hopefully simplify some flows and certainly make them more robust that using your own DIY caching function nodes.
As always, feedback is most welcome.
Enjoy!
To install, npm install totallyinformation/node-red-contrib-uibuilder#vNext