امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
see title.
The forum has a quite big gallery. Is there a way to optimize the cache rebuild?
I saw that just by chance. Did not check the random media cache rebuild yet.
Or maybe introduce a setting, that turns the the cache rebuild off? I assume that cache is only used for a widget.
Here's the code:
PHP:
Read more
The forum has a quite big gallery. Is there a way to optimize the cache rebuild?
I saw that just by chance. Did not check the random media cache rebuild yet.
Or maybe introduce a setting, that turns the the cache rebuild off? I assume that cache is only used for a widget.
Here's the code:
PHP:
کد:
public function generateRandomAlbumCache()
{
$limit = 5;
$iterations = 100;
$maxId = (int)$this->db()->fetchOne('SELECT MAX(album_id) FROM...
Read more
