NCache 4.6 - Online Documentation

Write-Through Caching

 
NCache provides two modes for Write-Through caching:
 
  •     Write-Through (Updates data source synchronously)
  •     Write-Behind (Updates data source asynchronously)
 
This section explains the concept of both options and how it can be configured by implementing a custom provider of the IWriteThruProvider interface.
 
In this section:
 
Explains the concept of Write-Through Caching in NCache.
 
Explains how to use Write-Through Caching to write the cache items to the backing data source.