Page 1 of 1

Slow load of build.js on raspberry pi 2

Posted: 28 Dec 2020 00:17
by ssvenn
Is this normal? Ever since I upgraded z-way to 3.1.1 loading the interface takes 10 seconds, but after it has loaded it is fast to navigate. Looking at the browser console it seems to be one single big build.js resource that is slow, is this file generated dynamically?

I've looked at iotop and htop while it is loading and it doesn't seem to max out either IO or CPU

I will upgrade to a pi 4 soon, but does 10 seconds sound right for a pi 2 or could this be a bug?
Screenshot 2020-12-27 at 22.06.31.png
Screenshot 2020-12-27 at 22.06.31.png (119.87 KiB) Viewed 243 times

Re: Slow load of build.js on raspberry pi 2

Posted: 28 Dec 2020 03:47
by PoltoS
All the JS files are packet to make them load faster. This explains why it takes so long. But it should be cached by your browser, so next loads should be much faster.