Remove appCache from node-red-dashboard

The node-red-dashboard uses application cache- see https://github.com/node-red/node-red-dashboard/blob/1f9d0f781c8c8029b1b24b9eeb681e39600ff280/src/index.html#L20

Mozilla says that the application cache has been https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache

Is there any plan to remove this?

Is this perhaps the same issue being discussed here:
https://discourse.nodered.org/t/dashboard-caching-images-how-to-stop-it/7112

I've an ugly solution where I send a gray frame at the start and a black frame at the end so stale images aren't mistaken for "live" images on the UI webpage.

Hi wb666greene
No- your issue looks different. Mine is more of a dev/design question
Thanks

There are no current plans to remove it.

Indeed, I suspect that Mozilla have slightly jumped the gun on this. Their recommendation is to replace them with webworkers but this is a whole level of complexity higher than the appcache.

There is another thread somewhere where I tested some performance issues - appcache makes a massive difference to the performance of Dashboard UI's largely because of the extreme size of Angular. It also gives a nice boost to uibuilder too.

1 Like

Thanks for replying @dceejay, @TotallyInformation