Now you can define the duration of the cache entries.
This commit is contained in:
@@ -969,7 +969,7 @@ function query_page_info($url, $no_photos = false, $photo = "", $keywords = fals
|
||||
$data = Cache::get("parse_url:".$url);
|
||||
if (is_null($data)){
|
||||
$data = parseurl_getsiteinfo($url, true);
|
||||
Cache::set("parse_url:".$url,serialize($data));
|
||||
Cache::set("parse_url:".$url,serialize($data), CACHE_DAY);
|
||||
} else
|
||||
$data = unserialize($data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user