Bolero
Bolero copied to clipboard
Slow response in the first 10 to 20 seconds
My Bolero 0.5 application - client with server - was very sluggish for perhaps 10 to 20 seconds after I started it in Debug in VS 2019. After that initial sluggishness the response was great.
I had noticed that this sluggishness had increased as I put more functionality into the client project. I suspected that perhaps the growing main.html
was to blame, so I split it into two somewhat equally sized files. That helped tremendously. There is now still a slight delay when clicking menu items right after the browser comes up, but it is insignificant.
This issue was not a problem for me, since splitting main.html
was something I wanted to do anyway. I am reporting the issue so that the behavior can be researched if need be. I attach the revision of the application as it was before splitting main.html
.
The attached solution does not contain any business secrets in that particular revision, as I'm only at a stage where I research use of Bolero. Anyone is welcome to have a look, but please remove any references to its origins if snipping code, and do not post it elsewhere as is.
It's been a while since I reported this, and I've finally been able to test deployment code. It looks like there is no initial sluggishness in deployment. I'm very happy about that. I suspect the initial sluggishness while debugging has also been decreased by splitting up the html even more.