Browse Source

clear all cache on site update

Olivier Massot 4 years ago
parent
commit
87f0f0f011
1 changed files with 3 additions and 1 deletions
  1. 3 1
      ot_admin/Classes/Controller/SiteController.php

+ 3 - 1
ot_admin/Classes/Controller/SiteController.php

@@ -722,7 +722,8 @@ class SiteController extends ActionController
         }
 
         // ## Clear the Typo3 cache for the website
-        OtCacheManager::clearSiteCache($rootUid, true);
+        OtCacheManager::clearAllCache();
+//        OtCacheManager::clearSiteCache($rootUid, true);
 
         return $rootUid;
     }
@@ -1371,6 +1372,7 @@ class SiteController extends ActionController
             $this->addRedirection($originDomain, $newDomain);
         }
 
+        OtCacheManager::clearAllCache();
         return $rootUid;
     }