You said "InDatabase cache", but this is not correct
, because "InDatabase" is only the CacheDependency, the actual cached items are stored in the memory by default. However, you can easy implement a custom CachingProvider for storing cached items in different place, i.e. in the database.
How the Sitefinity caching works?
Let say that you have 2 servers in the web farm and you are using the default MemoryCachingProvider. When you request a page, which requires caching, and it is processed by the first server, the page will be cached on the server memory. If the same page is processed on the second server, it will be cached on it as well. The "InDatabase" CacheDependency mode means that if you change the page (update properties, publish, delete, etc.) on any of the servers, Sitefinity will invalidate all dependent cache items on all servers in the farm. Otherwise, in case of "InMemory" cache dependency, it will invalidate only the cache items on the server, where the change is made.
As for synchronizing files between servers
, it is not Sitefinity
responsibility, the load balanced software should manage this.
Hope this information is helpful. Please let us know if you need more details.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.