setCaching(onOff: Boolean);
The setCaching method of the JadeBytes class is used to enable or disable caching of the data content of the receiver by setting the value of the onOff parameter to true or false, respectively.
When caching is disabled (the default setting):
At most, one data segment of the JadeBytes object can be resident in the object cache.
The JadeBytes object is the first object to be replaced when the object cache becomes full.
When caching is enabled:
More than one data segment of the JadeBytes object can be resident in the object cache.
The JadeBytes object is treated like other objects when it comes to being replaced when the object cache becomes full.
The caching setting for the JadeBytes object applies for as long as it remains in the object cache.
This method has no effect on singleFile instances.