Pelco Developer Network (PDN)

Device Caching

The Device Cache is a feature of the Pelco SDK, where a cache of Device Objects is created for devices that are connected to the system running the Pelco SDK. The caching of device information results in faster response times and reduced network traffic.

The device information is stored in a database on the local computer. The first attempt to connect to a new Pelco system retrieves all of the device information and device parameters, and stores the information in the database. Future attempts to retrieve the same information is obtained from the database. A continuously running background task ensures the device information is the latest version. The minimum device cache database refresh interval is five minutes.

The directory where the device cache database is stored depends on the operating system used, as described in the following table.
Table 2. Database Location
Operating SystemDirectory
  • Windows XP
  • Windows Server 2003
  • Windows Server 2008
C:\Documents and Settings\All Users\Application Data\Pelco\SDK
 
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows Server 2012
C:\ProgramData\Pelco\SDK