# \[bug-1667\]Power Chart Caching Issue

**URL:** <https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 6, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008 "2021-01-06T20:31:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott.stamps](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scott.stamps](https://forum.inductiveautomation.com/u/scott.stamps)\
**Post date:** [January 6, 2021, 8:31pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/1 "2021-01-06T20:31:35Z")

</div>

I have a situation with the Power Chart where it appears to be caching the initial tag list and not showing newly added tags.

Here’s the scenario.

1. Add a Power Chart control to a view
2. Set the config \> tagBrowserStartPath to histprov:[history provider]:/drv:[system name]:[tag provider]
3. Launch the new view. The “Browse Tags” tree view displays the list of tags, as expected
4. Add a new tag to the provider being referenced in the tagBrowserStartPath
5. Come back to the new view. The “Browse Tags” tree view does **not** display the newly added tag. I have tried both the refresh button on the Power Chart as well as a manual browser refresh (F5).
6. Back in the project, clear the config \> tagBrowserStartPath Power Chart property.
7. Back in the browser, go to the new view and drill into the Power Chart tag tree to the same provider initially used.
8. The new tag is now visible and will remain visible even after re-applying the initial tagBrowserStartPath value, as you would expect.

To me, this feels like the initial filtered result is being cached, and the only method that I’ve found to invalidate it is outlined in steps 6-8.

Any feedback appreciated.

---

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [January 18, 2021, 10:50pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/2 "2021-01-18T22:50:15Z")

</div>

Would like to see a resolution for this as well.

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [January 27, 2021, 6:30pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/3 "2021-01-27T18:30:59Z")

</div>

I just followed the request back to a method inside of the tag history files where we’re clearly caching results when we provide a start path. Thanks for reporting; I will open a ticket.

---

<div class="post-metadata">

**Author:** ![scott.stamps](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scott.stamps](https://forum.inductiveautomation.com/u/scott.stamps)\
**Post date:** [January 27, 2021, 7:12pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/4 "2021-01-27T19:12:23Z")

</div>

You bet. Thanks Joshua.

---

<div class="post-metadata">

**Author:** ![beckya](https://avatars.discourse-cdn.com/v4/letter/b/b5a626/32.png) [@beckya](https://forum.inductiveautomation.com/u/beckya)\
**Post date:** [August 18, 2021, 7:59pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/5 "2021-08-18T19:59:21Z")

</div>

Is this still a known issue? I am having trouble with this now as well.

---

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [August 18, 2021, 10:15pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/6 "2021-08-18T22:15:28Z")

</div>

What version are you running on? This has been fixed but I can’t see which version in the release notes.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 18, 2021, 10:37pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/7 "2021-08-18T22:37:27Z")

</div>

This hasn’t been fixed. It looks like for a workaround, you could try setting the start path to null, then your same path again - that should ‘bust’ the cache the tag historian is keeping.

---

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [August 18, 2021, 10:50pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/8 "2021-08-18T22:50:12Z")

</div>

My bad, I’m not encountering it anymore for some reason.

---

<div class="post-metadata">

**Author:** ![scott.stamps](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@scott.stamps](https://forum.inductiveautomation.com/u/scott.stamps)\
**Post date:** [August 19, 2021, 8:54pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/9 "2021-08-19T20:54:51Z")

</div>

While it was not noted in the release notes, I believe this was addressed in 8.1.3. That’s when we noticed that our ‘workaround’ was no longer needed anyway.

---

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [August 20, 2021, 12:53am UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/10 "2021-08-20T00:53:56Z")

</div>

@paul-griffith Just tried this again on 8.1.9 and it seems to be working correctly.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 20, 2021, 1:57pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/11 "2021-08-20T13:57:26Z")

</div>

Huh; maybe it was fixed incidentally. All I can tell is the original bug ticket is still open in our system, and there’s no indication it should have been fixed in the meantime.

---

<div class="post-metadata">

**Author:** ![Brady\_Fearnow](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@Brady\_Fearnow](https://forum.inductiveautomation.com/u/Brady_Fearnow)\
**Post date:** [May 10, 2023, 12:56am UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/12 "2023-05-10T00:56:36Z")

</div>

I believe I am seeing this issue as well in 8.1.26. I am assuming this was fixed because of the dates and maybe this is a new issue? My symptom is on the dashboard component. When we update the widgets property on a dashboard and that includes a power chart, the power chart will sometimes retain the previous data instead of refreshing. No other widget we have exhibits this behavior (tables, gauges, etc) only the power chart. If this is believed to have been fixed let me know and I will make a ticket. Thanks.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [May 10, 2023, 1:03am UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/13 "2023-05-10T01:03:37Z")

</div>

This was supposed to have been fixed in 8.1.14:

> [@Nightly 8.1 Changelogs - 2021](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2021/42410/199):
>
> Nightly Changelog: 8.1.14-b20211215 Visualization 977: Alarm Journal and Status Table: add columns for associated data Add column configurations for associated data for both Alarm Journal Table and Alarm Status Table. 1667: Power Chart: Browsing history with a root path will return cached results rather than newly queried results This issue was resolved for DB historians early in 8.1. While debugging, it looks like DB historians will rebuild their cache of historical tags when a new histori…

---

<div class="post-metadata">

**Author:** ![Brady\_Fearnow](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@Brady\_Fearnow](https://forum.inductiveautomation.com/u/Brady_Fearnow)\
**Post date:** [May 10, 2023, 4:25pm UTC](https://forum.inductiveautomation.com/t/bug-1667-power-chart-caching-issue/42008/14 "2023-05-10T16:25:17Z")

</div>

Thanks. Probably a new issue then...or something I am doing wrong.
