prwhite / zwave.js

A comprehensive stack for managing a home Z-Wave network.
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Create persistent cache of library/application state #6

Open prwhite opened 11 years ago

prwhite commented 11 years ago

It would be nice to cache the results of node capability queries so they don't have to be done every time the library comes up.

Of course, this is worth benchmarking... if node discovery is not a bottleneck for startup, then it doesn't need to be optimized.

But, there will be other reasons to cache application state, such as user-defined node names, house maps, schedules, etc.