This issue occurs because the cache option for offline files is based on the Server Message Block (SMB) protocol, and the cache option is SMB share-based.
If the cache option is enabled on a shared folder, any files that are created on the remote shared folder from the local computer can be cached. However, this action may cause synchronization problems if one of the following conditions is true:
- The cache option is enabled on a shared folder where roaming user profiles are located.
- The cache option is enabled on a shared folder where roaming user profiles are accessed through a path where the cache option is enabled.
If a roaming user profile is located inside a shared folder where the cache option is enabled, offline files are cached in the user's profile as they are copied to and from the server. This functionality is designed to handle situations where programs work with new copies of a file and then rename the original file. (In other words, all files that are created on the remote shared folder from the local computer are cached.)
Because a roaming user profile can copy the files in the user's profile to temporary files on the server share and then rename these files, the files in the user's profile are added to the cache.