From 8fb6672ef95990398af6d4b13a503fcf20a3731e Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Sun, 21 Apr 2024 16:54:37 +0200 Subject: [PATCH] Temporary disabled cache --- app/Services/Markdown/Formatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Markdown/Formatter.php b/app/Services/Markdown/Formatter.php index d3f07d3..ec32a5f 100644 --- a/app/Services/Markdown/Formatter.php +++ b/app/Services/Markdown/Formatter.php @@ -46,7 +46,7 @@ public function render(): string $cacheKey = sprintf('markdown_formatted_%s', $hash); if (Cache::has($cacheKey)) { - return Cache::get($cacheKey); + // return Cache::get($cacheKey); } // First, process the source with Blade to handle any dynamic content @@ -59,7 +59,7 @@ public function render(): string // Perform final adjustments like inserting non-breaking spaces $result = $this->insertNonBreakingSpaces($converted->getContent()); - Cache::put($cacheKey, $result, now()->addMonth()); + // Cache::put($cacheKey, $result, now()->addMonth()); return $result; }