public function actionClearCache()
 {
     // ---------------------- CHECK IS AJAX REQUEST ------------------------
     if (!Yii::$app->getRequest()->isAjax) {
         return $this->redirect(['/translations']);
     }
     // ------------------ SET JSON FORMAT FOR RESPONSE ---------------------
     // @see https://github.com/samdark/yii2-cookbook/blob/master/book/response-formats.md
     Yii::$app->getResponse()->format = \yii\web\Response::FORMAT_JSON;
     // ---------------------- SET DEFAULT RESPONSE -------------------------
     $response = array('status' => 'error', 'message' => Module::t('An unexpected error occured!'));
     // -------------------------- CLEAR CACHE ------------------------------
     if (SourceMessageSearch::cacheFlush()) {
         $response['status'] = 'success';
         $response['message'] = Module::t('Translations cache successfully cleared.');
     }
     return $response;
 }