Back

Programming
cacheData
Cache data in $ADODB_CACHE_DIR for cacheData seconds Default: `0` 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. However if scrollLinks is set, then the value from the SELECT COUNT(*) that phpLens makes will always be cached if cacheData is set to a non-zero value, whether or not the data is set to readonly. Syntax `$ADODB_CACHE_DIR = '/tmp'; $lens->cacheData = 60; # cache 60 secs` Basic:No Advanced/Enterprise:Yes DynamicEdit:No [Version 1.0]