You can enable or disable caching to allow or prevent clients from caching files on a share.
You can specify whether clients must manually select files for caching; and, if not, whether Data ONTAP automatically caches programs, user files, or both in accordance with client settings. By default, clients must manually select files for caching.
| If you want to... | Then... |
|---|---|
| Disable caching | On the Data ONTAP command line, enter the following command: cifs shares -change sharename -nocaching |
| Enable manual caching | On the Data ONTAP command line, enter the following command: cifs shares -change sharename -manual_caching |
| Enable automatic caching of documents | On the Data ONTAP command line, enter the following command: cifs shares -change sharename -auto_document_caching |
| Enable automatic caching of programs | On the Data ONTAP command line, enter the following command: cifs shares -change sharename -auto_program_caching |