Migrating the Web Accelerator's persistent cache

January 3, 2014 | KB: 1013398
Web Accelerator

Summary

You can manually migrate the Web Accelerator's persistent cache.

More Information

To relocate the persistent cache:

  1. Reset IIS (Command > iisreset), stop the IIS service or stop the WebAccelerator application pool. This will release any locks Web Accelerator may have on the database files.
  2. Move the files from their install locations to your new location:
    • <Install Directory>\Laserfiche\Web Accelerator\Web Files\PersistentLayer\Database\WebAccelerator.sdf
    • <Install Directory>\Laserfiche\Web Accelerator\Web Files\PersistentLayer\Image
  3. In the WebAccelerator.config file (located in \Laserfiche\Web Accelerator\Web Files), update the DBFilePath and ImageVolumeRootFolderPath nodes to the location you moved your persistent cache to.
    <WXConfiguration>  
    ...
    <CachingModule>
    ...
    <PersistentCache>
    <DBFilePath>PersistentLayer\Database\ligs.sdf</DBFilePath>
    <ImageVolumeRootFolderPath>PersistentLayer\Image</ImageVolumeRootFolderPath>
    </PersistentCache>
    </CachingModule>
    ...
    </WXConfiguration>
  4. Finally, ensure proper Windows ACLs are set on the new location. Give the Application Pool user full read, write, and delete rights to the dbfilepath and imagevolume root folder. Note that the default user, IIS AppPool\WebAcceleratorAppPool, should be given full rights. See http://www.iis.net/learn/manage/configuring-security/application-pool-identities for details.