diff --git a/src/Controller/ArticleController.php b/src/Controller/ArticleController.php index 1792f2c..27dac1f 100644 --- a/src/Controller/ArticleController.php +++ b/src/Controller/ArticleController.php @@ -100,10 +100,10 @@ class ArticleController extends AbstractController $cacheKey = 'article_' . $article->getEventId(); $cacheItem = $articlesCache->getItem($cacheKey); - //if (!$cacheItem->isHit()) { + if (!$cacheItem->isHit()) { $cacheItem->set($converter->convertToHTML($article->getContent())); $articlesCache->save($cacheItem); - //} + } $key = new Key(); $npub = $key->convertPublicKeyToBech32($article->getPubkey());