# Best practices to auto refresh dashboard

**URL:** <https://discourse.nodered.org/t/best-practices-to-auto-refresh-dashboard/13135>\
**Category:** Dashboard\
**Created:** [10 July 2019 23:23 UTC](https://discourse.nodered.org/t/best-practices-to-auto-refresh-dashboard/13135 "2019-07-10T23:23:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![injector22](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@injector22](https://discourse.nodered.org/u/injector22)\
**Post date:** [10 July 2019 23:23 UTC](https://discourse.nodered.org/t/best-practices-to-auto-refresh-dashboard/13135/1 "2019-07-10T23:23:29Z")

</div>

I've been searching but all I seem to find is answers to using the control ui node to refresh the dashboard when the page loads.

If I already have the page loaded and I want to refresh the elements, is a blank inject node with repeat configured the best method? Does the inject run in the background even when the page isn't being browsed?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/47a4f9d5f87847d911782e8d0099d0a9e011cf99.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 July 2019 08:43 UTC](https://discourse.nodered.org/t/best-practices-to-auto-refresh-dashboard/13135/2 "2019-07-11T08:43:53Z")

</div>

The flow (and inject) is running on the server so will be hitting the database 9 times every time it injects, whether you are looking at it or not. If that is ok on your database is up to you :-).
