removeIgnoredTagOnClear() public static method

public static removeIgnoredTagOnClear ( $tag ) : void
$tag
return void
 public function clearOutputCacheAction()
 {
     $this->checkPermission("clear_cache");
     // remove "output" out of the ignored tags, if a cache lifetime is specified
     Cache::removeIgnoredTagOnClear("output");
     // empty document cache
     Cache::clearTag("output");
     $this->_helper->json(array("success" => true));
 }
Beispiel #2
0
 public function clearOutputCacheAction()
 {
     $this->checkPermission("clear_cache");
     // remove "output" out of the ignored tags, if a cache lifetime is specified
     Cache::removeIgnoredTagOnClear("output");
     // empty document cache
     Cache::clearTags(["output", "output_lifetime"]);
     \Pimcore::getEventManager()->trigger("system.cache.clearOutputCache", $this);
     $this->_helper->json(["success" => true]);
 }