08-01-2023 01:49 PM
I assume it converts the G Web logic into javascript, but it is a 4mb javascript file meaning it slows down load times incredibly.
Anyone have any ways to speed this up and reduce that file's size?
08-01-2023 07:17 PM
Yep the WebVI assets are pretty large. I would expect that a well configured server with a fast network connection and a modern desktop should be able to download and run a WebVI in about 1-2 seconds. For example the WebVI hosted at https://www.webvi.io/ on a fast internet connection with a modern desktop loads in less than a second for me.
If you see significantly different load times you may want to check your server settings. For example, out of the box the NI Web Server with the Web Application Hosting Service should result in similar 1-2 second load times on a fast network as it is a modern server with good caching configured by default. The How to Build a Web UI for Your LabVIEW-Based Test System presentation covers hosting a WebVI on the NI Web Server and SystemLink Cloud as examples.