Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The harvester uses caches files to improve the performance. By default these cache files are stored in the sub folder cache of the root folder of your archive (d:\fews\archive\cache\ for windows). It is however possible to configure a custom folder for the cache files.

This can be huge performance improvement. If the cache files are stored at disk local to your server then the reading and writing of the cache files will be much faster. 

You can configure a custom folder for the cache files in the archiveServerConfig.xml file.

An example is given below.

Code Block
languagexml
<archiveServer xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/archiveServer.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<archiveEnvironmentName>test archief</archiveEnvironmentName>
	<baseUrlFileServer>http://localhost:7080/thredds/fileServer/Archive</baseUrlFileServer>
	<baseUrlArchiveRootFolder>file:///D:/fews/archive/</baseUrlArchiveRootFolder>
	 <cacheFolderUrl>file:///c:/cache</cacheFolderUrl>	
</archiveServer>