|
@ -1691,7 +1691,7 @@ function buildIndex($global_api = "yes") { |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
if ($config['cache']['enabled']) { |
|
|
if ($config['cache']['enabled']) { |
|
|
$contentHash = md5(json_encode($content['threads'])); |
|
|
$contentHash = md5(json_encode($content['body'])); |
|
|
$cacheHit = cache::get('index_cache'. $contentHash); |
|
|
$cacheHit = cache::get('index_cache'. $contentHash); |
|
|
if ($cacheHit) |
|
|
if ($cacheHit) |
|
|
continue; |
|
|
continue; |
|
|