stagger thumbnail cache

This commit is contained in:
Shish 2020-03-28 16:11:05 +00:00
parent 5ea26a80cc
commit 69cb67fe24
2 changed files with 2 additions and 2 deletions

View file

@ -115,7 +115,7 @@ class RSSImages extends Extension
</item>
";
$cache->set("rss-item-image:{$image->id}", $data, 86400);
$cache->set("rss-item-image:{$image->id}", $data, rand(43200, 86400));
return $data;
}

View file

@ -32,7 +32,7 @@ class Themelet extends BaseThemelet
"</div>\n";
// cache for ages; will be cleared in ext/index:onImageInfoSet
$cache->set("thumb-block:{$image->id}", $html, 86400);
$cache->set("thumb-block:{$image->id}", $html, rand(43200, 86400));
return $html;
}