# Force refresh of SVG file?

**URL:** <https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 1, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043 "2024-08-01T14:01:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 1, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043/1 "2024-08-01T14:01:37Z")

</div>

I keep adding new icons to our library, but the only way I know to ensure that they show up right away on every screen is to add them in a new file, and that has resulted in a bunch of files with references like `mes2/myicon`, `mes3/myicon`, etc. I would really like to be able to just have the one file, but I haven't been able to find a way to ensure that browsers won't cache it. Any suggestions?

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 1, 2024, 5:56pm UTC](https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043/2 "2024-08-01T17:56:28Z")

</div>

In case anyone is interested, I figured out a solution. Rather than keep adding extra files, I can simply use a query string in the reference:

`mes?2/myicon`

Each time I add a new icon to the file, I just have to remember what the highest number I used was, and increment it.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [August 1, 2024, 6:10pm UTC](https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043/3 "2024-08-01T18:10:48Z")

</div>

Perhaps I'm not understanding your post, but if you want to refresh projects/resources, try `system.project.requestScan`

> **[system.project.requestScan | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-project/system-project-requestScan)**
>
> Requests a manual scan of the projects directory in order to refresh projects and their resources.

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 1, 2024, 6:16pm UTC](https://forum.inductiveautomation.com/t/force-refresh-of-svg-file/94043/4 "2024-08-01T18:16:00Z")

</div>

No, the problem is that browsers cache the SVG files, so if I add a new icon to an existing file, then it doesn't show up in those browsers.
