Blueone wrote:robgeerts wrote:
Blueone wrote:I'm having some issues with the dashboard, after a while the dashboard reacts extremely slow and sometimes also doesn't exit the stand-by mode or also very slowly (looks like it is waiting for something). And sometimes when it end standby is shows only the background on a empty screen, I can swipe and am seeing the main screen but is goes back to the empty screen when I release the screen, a complete refresh is the only option in this case.
Do you have the latest version?
It should automatically reload after 30 minutes or so...
Using the last version, sometimes is also happens already after 5 minutes or so. I also notice it in the setpoint setting, when I change it could take a while before it refreshed while sometimes it is working perfect. So I think one piece of code or call is causing this issue which delays the rest. But is quite hard to debug, so tips to debug are welcome. Maybe I can also disable the block one by one to see if I can pin-point it.
Oke, I think i found the cause with the timeline in debugging mode. I appears is't waiting very long for some images from nu.nl or something, an example.

- 2017-05-03 11_24_32-Dashticz.png (4.75 KiB) Viewed 2133 times
http://sat.sanoma.fi/sat/sat.gif?log=1& ... 53&ctz=120
It is loading this every 10seconds (when refreshing the dashboard) while I don't have an active iframe with this info in it, only a button which directs to nu.nl (nu.nl is part of sanoma). It is also doing this in a syncronous job, so the json calls are waiting for this. I think there are two issues/improvements here:
- it is loading all the external information every 10 seconds while the buttons aren't open on the screen
- External information is loaded synchronously and the json call are waiting for it, maybe external information can be loaded async to inprove the user experience?
I hope you can do something with this information, thanks in advance!

. And if you need extra debug information, please let me know

.
BTW, I think some of the external images which are requested by nu.nl are blocked by piHole, will check that this evening, but it shouldn't interfere the working of the dashboard.