You are here: Web Apps with Visual LANSA > 8. Performance > 8.1 Downloads – What and When?

8.1 Downloads – What and When?

The Visual LANSA Runtime Core is a single JavaScript file that starts the Visual LANSA runtime. This is downloaded the first time a Visual LANSA web application is executed. For all other subsequent requests, the file will remain available due to browser caching.

The many other JavaScript files and images that comprise the runtime are then downloaded on a needs basis. Thus, the first time any application makes use of the PRIM_LIST control, the corresponding JavaScript for this control lansa_list.js will be retrieved by the web server. As with the core, there is no need to download this file again.

The JavaScript executable objects for Web Pages and Reusable Parts are handled in the same manner. As the components are referenced in the executing application the web server retrieves the files from the Application Server.