Does NetBIOS do any caching?

If I read a file from a UNC network share, are there Windows cache files from this file?

For example: if I read the entire byte of the file for the byte, will each reading result be a call in the request over the network, or will Windows read large blocks inside and serve the subsequent request from memory?

+5
source share
1 answer

If I understand correctly, the contents of the file may be cached.

To ensure that all reads are made against the actual file, and not from any system buffer or disk cache, you can use the CreateFileFILE_FLAG_NO_BUFFERING call .

You can also disable caching for a shared resource with net share <sharename> /cache:none

+1

All Articles