NonExistentFilesCacheEnabled Property

Whether the nonexistent files cache should be used.

Syntax

func (obj *CBFS) NonExistentFilesCacheEnabled() (bool, error)
func (obj *CBFS) SetNonExistentFilesCacheEnabled(value bool) error

Default Value

false

Remarks

This property controls whether the nonexistent files cache is enabled for a virtual drive. The size of the nonexistent files cache can be controlled using the NonExistentFilesCacheSize property.

When enabled, the component will cache any GetFileInfo responses that indicate that the requested file does not exist. If another request is later made for the same file, the component will use this information to automatically report a "file not found" error rather than firing the GetFileInfo event again.

Please refer to the Caching topic for more information.

Note: This property cannot be changed within events.

Data Type

bool

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 Go Edition - Version 20.0 [Build 8348]