longer cache timings, with better invalidation

This commit is contained in:
Shish
2012-06-24 01:57:06 +01:00
parent 6c4fd0d14d
commit 8dfeb7cda3
5 changed files with 9 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ class Featured extends Extension {
if($image) { // make sure the object is fully populated before saving
$image->get_tag_array();
}
$database->cache->set("featured_image_object-$fid", $image, 60);
$database->cache->set("featured_image_object-$fid", $image, 600);
}
if(!is_null($image)) {
if(class_exists("Ratings")) {