Commit 1b600e0b authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Ensure cached content is served correctly

1 merge request!308WIP: (feat): Minds Pro
Pipeline #82516748 failed with stages
in 9 minutes and 37 seconds
......@@ -116,7 +116,7 @@ class channel implements Interfaces\Api
$custom_type = isset($_GET['custom_type']) && $_GET['custom_type'] ? [$_GET['custom_type']] : null;
$cache = (bool) $_GET['cache'] ?? false;
$cache = (bool) $_GET['cache'] ?? true;
/** @var Core\Data\cache\abstractCacher $cacher */
$cacher = Di::_()->get('Cache');
......@@ -205,7 +205,7 @@ class channel implements Interfaces\Api
private function getCacheKey(array $opts): string
{
return "feeds-channel:" . implode(':', opts);
return "feeds-channel:" . implode(':', $opts);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment