Commit fc4c8cc1 authored by Dominik Hebeler's avatar Dominik Hebeler

increased cache duration for spam

parent 1d8ef87c
......@@ -80,7 +80,7 @@ class MetaGerSearch extends Controller
continue;
}
if (preg_match("/" . $entry . "/si", $metager->getEingabe())) {
Cache::put('spam.' . $metager->getFokus() . "." . md5($metager->getQ()), $resultpage->render(), 1440);
Cache::put('spam.' . $metager->getFokus() . "." . md5($metager->getQ()), $resultpage->render(), 604800);
}
}
return $resultpage;
......
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