Understanding File Caching
You can define and use file caching to efficiently share read-only files across multiple workspaces.
The administrator creates and configures a cache workspace directory to store files and folders. Users then configure their workspaces to point to the cache workspace. The cache stores managed files and data and makes them sharable across multiple workspaces on the same disk partition. Files in the cache are stored as individual read-only files shared across multiple workspaces as hard links. The cache also stores metadata for the file cache objects, including lock information and file history.
When you lock a file that is a hard link to read-only cached file, the read-only hard link in your local workspace is replaced with a writeable copy. You can check in this file in as you typically would and unlock it to release the lock, which replaces the file in the workspace with a read-only hard link to the cached version.
- If a hard link cannot be created to the cached file, the system copies the file from the cache to the workspace as a read-only file.
- The administrator who creates the workspace and defines the cache is the only user who has write access to the cache. The cache