Caching Data Files

Before a load test is executed, it first needs to be initialized. Part of the initialization is the deployment of data files from the controller to the agents. Deploying data files can take some time, depending on their number and size. To speed up initialization, you can instruct Silk Performer to cache data files on the agents. In this case, data files must be deployed only for the first load test. Subsequent load tests will then be initialized quicker.

To cache data files, click Settings > System in the Silk Performer menu, click the Control tab, and enable the check box Cache data files on agents.

When caching is disabled, data files are transferred to the remote agent and stored in the remote project folder. When caching is enabled, the data files are stored in <public documents>\Silk Performer <version>\DataCache. The GetDataFilePath function provides the correct data file path in either case. Do not use the function GetDirectory with DIRECTORY_PROJECT to locate data files, as it does not work when data file caching is enabled.