LoadKar
Use this command to load and expand a .kar file into the document cache. This command stores each object in the .kar file in memory as though using the Load command individually for each object. This command can be useful during performance tuning, since documents that are loaded into the document cache do not need to be retrieved from the server each time the object runs.
You can include procedures, models, import specs, export specs, DataArea specs, data table specs, UI files, data views, table views, subroutines, images, and HTML in a .kar file. Any tokens used inside .html files are parsed only once the first time the .html file is used.
Note: During development and testing, use this command with caution, since the copies in the document cache are static and are not updated with any changes you make to the original documents. For more information, see Unload.
where:
- KarName is the path and file name of a .kar file, including the relevant file extension, relative to the applications folder of your Data Server.
- RootPath is the path that is virtually prepended to all files in the .kar archive when the files are extracted.
See also