widgets\FragmentCache $variations

$variations public property

List of factors that would cause the variation of the content being cached. Each factor is a string representing a variation (e.g. the language, a GET parameter). The following variation setting will cause the content to be cached in different versions according to the current application language:

[
    Yii::$app->language,
]
public array $variations = null
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.