mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 00:47:55 +08:00
Added a note about URLManager cache duration
https://github.com/yiisoft/yii2/pull/13426#issuecomment-366078957 issue #13426
This commit is contained in:
@ -124,6 +124,10 @@ class UrlManager extends Component
|
|||||||
* After the UrlManager object is created, if you want to change this property,
|
* After the UrlManager object is created, if you want to change this property,
|
||||||
* you should only assign it with a cache object.
|
* you should only assign it with a cache object.
|
||||||
* Set this property to `false` if you do not want to cache the URL rules.
|
* Set this property to `false` if you do not want to cache the URL rules.
|
||||||
|
*
|
||||||
|
* Cache entries are stored for the time set by [[\yii\caching\Cache::$defaultDuration|$defaultDuration]] in
|
||||||
|
* the cache configuration, which is unlimited by default. You may want to tune this value if your [[rules]]
|
||||||
|
* change frequently.
|
||||||
*/
|
*/
|
||||||
public $cache = 'cache';
|
public $cache = 'cache';
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user