Often users might notice a long loading time when opening documents, even if the QVW document is pre-loaded.
The issue here is actually that the preload function loads the data and document into memory, but it does not populate list boxes, make calculations in charts, etc. This information is loaded into the cache upon opening the document.
Once parts of the information in the document is cached after the first user has opened the document, it will be quicker for subsequent users. Cache is cleared when the document is reloaded or if the services are restarted.
To prevent the long waiting time for the first customer who opens the document, use a script that opens the document so that information gets cached.
One way of doing this is to set up a task in the Windows Task Scheduler to run a script after the document is reloaded.
Below is an example of a VB script that will open a document. This script can include credentials for opening with section access.
In the Task Scheduler (from the Start menu, search for Task Scheduler), you can specify which account to run the task with, and the details of the schedule for when to run the task.
As technically this type of process if outside of what is covered by QlikView Support, we aren't able to set this up for you, nor guarantee the functionality or support it if it doesn't work as expected, but this type of solution might help.
Below is an example of how the script can look:
set App = CreateObject("QlikTech.QlikView")
set newdoc = App.OpenDoc ("qvp://SERVERNAME/DOCUMENTNAME.qvw","USERID","PASSWORD")
set App = Nothing