src/apis/CommonController.php
public function actionCache()
    {
        $this->flushHasCache();
    
        $user = Yii::$app->adminuser->identity;
        $user->updateAttributes(['force_reload' => false]);
    
        Yii::$app->trigger(self::EVENT_FLUSH_CACHE);

        return true;
    }
public function actionCache()
    {
        $this->flushHasCache();
    
        $user = Yii::$app->adminuser->identity;
        $user->updateAttributes(['force_reload' => false]);
    
        Yii::$app->trigger(self::EVENT_FLUSH_CACHE);

        return true;
    }
public function actionCache ( ) { $ this -> flushHasCache ( ) ; $ user = Yii :: $ app -> adminuser -> identity ; $ user -> updateAttributes ( [ 'force_reload' => false ] ) ; Yii :: $ app -> trigger ( self :: EVENT_FLUSH_CACHE ) ; return true ; }
Triggerable action to flush the application cache and force user reload.

@return boolean
Triggerable action to flush the application cache and force user reload .