Temporary disabled cache
This commit is contained in:
parent
84bde43c3c
commit
8fb6672ef9
|
@ -46,7 +46,7 @@ public function render(): string
|
||||||
$cacheKey = sprintf('markdown_formatted_%s', $hash);
|
$cacheKey = sprintf('markdown_formatted_%s', $hash);
|
||||||
|
|
||||||
if (Cache::has($cacheKey)) {
|
if (Cache::has($cacheKey)) {
|
||||||
return Cache::get($cacheKey);
|
// return Cache::get($cacheKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
// First, process the source with Blade to handle any dynamic content
|
// 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
|
// Perform final adjustments like inserting non-breaking spaces
|
||||||
$result = $this->insertNonBreakingSpaces($converted->getContent());
|
$result = $this->insertNonBreakingSpaces($converted->getContent());
|
||||||
|
|
||||||
Cache::put($cacheKey, $result, now()->addMonth());
|
// Cache::put($cacheKey, $result, now()->addMonth());
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user