G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

What is DeployedRun.min.js and why is it so large?

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?

0 Kudos
Message 1 of 2
(1,330 Views)

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.


Milan
Message 2 of 2
(1,290 Views)