inc/blocks/SummaryBlock.php
@@ -25,6 +25,9 @@ { $this->cache = CacheManager::for('summary_block', WEEK_IN_SECONDS); add_action('init', [ $this, 'registerBlock' ]); if (JVB_TESTING) { $this->cache->clear(); } } public function registerBlock() @@ -54,7 +57,6 @@ { $this->config = $this->getConfig(); $key = $this->generateKey(); $this->cache->clear(); $cache = $this->cache->get($key); if ($cache) {