Node-webkit app with a lots of files takes long to start
Posted: Tue Oct 29, 2013 7:03 pm
Hi, Enigma!
I've made an app using node-webkit, ie node-webkit.exe plus lots of .html and .js files, totally around 250mb. I've succeeded packing it with EVB and it works perfectly fine. The only issue I have now is load time. It takes 20 secs to show app window and another 30 secs to show it's content, which comes from .html file packed along with my .exe.
I've also tried packing my data files in a separate package, ie app files in a resulting_app.exe and data files in mydata.dat file. That didn't help either. What I want to achieve is to start app as quickly as possible and show index.html, the rest of the html files can be loaded later on demand.
Is there any way to make boostrap time shorter? Thanks.
I've made an app using node-webkit, ie node-webkit.exe plus lots of .html and .js files, totally around 250mb. I've succeeded packing it with EVB and it works perfectly fine. The only issue I have now is load time. It takes 20 secs to show app window and another 30 secs to show it's content, which comes from .html file packed along with my .exe.
I've also tried packing my data files in a separate package, ie app files in a resulting_app.exe and data files in mydata.dat file. That didn't help either. What I want to achieve is to start app as quickly as possible and show index.html, the rest of the html files can be loaded later on demand.
Is there any way to make boostrap time shorter? Thanks.