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?
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.
Perhaps I'm not understanding your post, but if you want to refresh projects/resources, try system.project.requestScan
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.