Tips For Success

Having the best tools for document imaging is only half of the equation. Our Tech Tips are designed to provide you with valuable information to help you succeed by achieving faster results with our RasterMaster Imaging and Conversion SDKs or VirtualViewer high-speed document and image viewers. New time-saving tips are added monthly - you can receive them through Imaging News or our Tech Tips RSS feed.

Tech Tip: Clearing the Content from the Cache in VirtualViewer Java Content Server

Snowbound Software’s VirtualViewer Java Content Server includes the ability to clear the cache. You may want to clear the cache if a document saved in the cache is interfering with download time or performance.

To clear the cache, set the clearCacheOnSave parameter to true in the UploadServer servlet section of your web.xml file. The web.xml file is a sample file that is supplied when the application is installed. It is located in the WEB-INF directory where your application files are installed.

Please see the following example showing how to set clearCacheOnSave parameter to true to clear the cache:

<init-param>
<param-name>clearCacheOnSave</param-name>
<param-value>true</param-value>
</init-param>