When a component is set with its visibility = false, does it continue to query the database for its values? I was thinking of creating a fairly large chart that can put a non-trivial load on the database, but having a button that will make it visibile/invisible. But if it’s pulling from the database even when it’s not visible, that could be a problem. I guess I can always dynamically set the poll rate dynamically to slow it down when it’s not visible.
Yes, invisible components still query the database. Closed windows do not, however. (image the common case of a component that is polling for the status of something in the database - and needs to make itself visible when a condition turns true: it needs to be polling even while invisible.)
Using separate windows is the best way to partition up query load.