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

@ -60,7 +60,7 @@ function parseurl_getsiteinfo_cached($url, $no_guessing = false, $do_oembed = tr
$data = parseurl_getsiteinfo($url, $no_guessing, $do_oembed);
Cache::set("parse_url:".$no_guessing.":".$do_oembed.":".$url,serialize($data));
Cache::set("parse_url:".$no_guessing.":".$do_oembed.":".$url,serialize($data), CACHE_DAY);
return $data;
}