db\Connection $queryCacheDuration

$queryCacheDuration public property

The default number of seconds that query results can remain valid in cache. Defaults to 3600, meaning 3600 seconds, or one hour. Use 0 to indicate that the cached data will never expire. The value of this property will be used when cache() is called without a cache duration.

See also:

doc_Yii
2016-10-30 16:57:39
Comments
Leave a Comment

Please login to continue.