1
0
Fork 0

Now you can define the duration of the cache entries.

This commit is contained in:
Michael Vogel 2015-08-24 17:24:14 +02:00
commit b52bc71c6c
9 changed files with 33 additions and 22 deletions

View file

@ -819,7 +819,7 @@ function probe_url($url, $mode = PROBE_NORMAL, $level = 1) {
}
}
Cache::set("probe_url:".$mode.":".$url,serialize($result));
Cache::set("probe_url:".$mode.":".$url,serialize($result), CACHE_DAY);
return $result;
}