Ephesoft System can use Shared Folder on network where various operations are performed on files like read, create, modify, delete etc. Ephesoft System requires high level of consistency between the nodes on network i.e. node on which Shared Folder is located and node on which Ephesoft System is running.
In Windows Vista and Windows Server 2008 the file metadata are caches were implemented by Microsoft to speed up the return of the most recently accessed file and directory information. This cache also reduce the number of interactions a client requires with a SMB server for common file browsing operations. This has value in a scenario such as a client browsing a network file directory while connected via a low bandwidth or high latency connection. For common network file browsing scenarios, the default values are sufficient and should not be altered.
If changes are deemed necessary to this default value, this may be altered by creating the client registry key and changing to the appropriate setting. The default value was selected for the broadest range of SMB file access scenarios. However this default settings may not be appropriate for all network application usage.
For example:- Ephesoft System uses third party tool for pdf to tiff conversion as well as normalization of tiff files. Sometimes the files are created on shared folder on network but they are not visible due to “Directory Cache” on client.
As Ephesoft requires a high level of file information consistency across clients which may utilize creation or changing of a file as a notification mechanism to other nodes may encounter delays or consistency issues with below default value –
|Name, type, and ID||Registry key the cache setting is controlled by||Default setting|
|Directory Cache [DWORD] DirectoryCacheLifetime||HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
If you suspect metadata caching in the redirector as cause for misbehaving applications for example tiff count error due to mismatch of actual file count and expected file count, disable the cache by changing the value as mentioned below.
- Directory cache [DWORD], by setting DirectoryCacheLifetime to ZERO.