diff --git a/docroot/core/modules/media/media.module b/docroot/core/modules/media/media.module
index 8680b8c43..2a1dd5b7f 100644
--- a/docroot/core/modules/media/media.module
+++ b/docroot/core/modules/media/media.module
@@ -18,7 +18,6 @@
 use Drupal\field\FieldConfigInterface;
 use Drupal\media\Plugin\media\Source\OEmbedInterface;
 use Drupal\views\ViewExecutable;
-use Drupal\user\UserInterface;
 
 /**
  * Implements hook_help().
@@ -123,6 +122,12 @@ function media_user_cancel($edit, UserInterface $account, $method) {
         ->fields(['uid' => 0])
         ->condition('uid', $account->id(), '=');
       $query->execute();
+
+      //TODO: We can delete only cache for medias the user was owner
+      $db_connector = \Drupal::database();
+      $db_connector->delete('cache_entity')
+        ->condition('cid', '%values:media:%', 'LIKE')
+        ->execute();
       break;
   }
 }
