1
0

Temporary disabled cache

This commit is contained in:
Richard Dern 2024-04-21 16:54:37 +02:00
parent 84bde43c3c
commit 8fb6672ef9

View File

@ -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;
}