astarte-platform / astarte-dashboard

Astarte dashboard
http://astarte-platform.org
Apache License 2.0
17 stars 15 forks source link

Evaluate how to cache the list of interfaces since several pages use them #415

Open davidebriani opened 5 months ago

davidebriani commented 5 months ago

To improve the responsiveness of the UI, we could evaluate how to properly cache data that doesn't change often, such as the interface list (which is used by different pages to populate select boxes).

One approach could be to use the native caching of React Query, if used. See also issue #414