Cache data in $ADODB_CACHE_DIR for cacheData seconds Default: Make sure that the global variable $ADODB_CACHE_DIR points to the correct directory. See cacheLookups property for more examples.
Data is only cached if the data is set to readonly (no editing/deleting/inserting). Do not set this to true when you have multiple Web servers accessing the same data.
And if scrollLinks is set, then the number of links to display is also cached. This occurs whether or not the data is readonly. In other words, the SELECT COUNT(*) performed by scrollLinks is cached.Syntax
$ADODB_CACHE_DIR = '/tmp';
$lens->cacheData = 60; # cache 60 secs Basic:Yes Advanced/Enterprise:Yes DynamicEdit:Yes [Version 1.0]
|