Table of ContentsLibraryView in Frames

Enabling or disabling caching

You can enable or disable caching to allow or prevent clients from caching files on a share.

Considerations

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.

Step

  1. Enable or disable 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
Note: When you create a share, you can override the default caching option (-manual_caching) by specifying the -nocaching, -auto_document_caching, or -auto_program_caching option.