Document Cache Configuration
 
Document Cache – To improve aPriori performance, save a local version of your VPE data in a cache folder.
Saving VPE data locally eliminates the need to extract large amounts of data from the database each time a part is costed. Extracting large amounts of data from the database can diminish performance, especially when the clients and the database server are in different LANs.
You can specify the location of the document cache folder during client installation; choose one of these three options:
User Profile – The cache location is the home directory of the user, typically C:\Users\<username>\appdata\local\apriori. This option is the default.
aPriori Installation Directory – Select this location to place the cache in the same folder as all the aPriori application files. Before you select this option, make sure that the user has write permission to that location.
Note: By default, in Windows 7 and later, users do not have write permission to the ‘Program Files' folder.
Custom – Enter or browse for a custom location for the document cache directory. If you install aPriori locally on each computer, but want users to share a common cache location, use this option. The cache location should be a network share that is located within the same LAN as the users.
If you choose this option, only a single cache location requires updating when VPEs are updated. However, during costing, each user could experience slightly lower performance because the data pull is across a network.
Note: The user must have read/write access to the document cache directory. Therefore, if you select a network location or the Program Files directory on the local computer, the Windows folder permissions must be set to allow read/write permission.
By default, the installer enables the document cache cleaner. Disable this option only if you set up a shared document cache and automate the updating of the document cache. To disable the option, clear the Enable Document Cache Cleaner check box.
To automate the updating of the document cache, run the updateDocCache.cmd script in the aPriori\bin\ directory. Before running the script, edit it and add the aPriori user ID and a password. You can set up the script to be run by a Windows Scheduled Task on a periodic basis.