mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Change default cache driver to 'dummy' with minimal caching
This commit is contained in:
parent
d4e2163e2b
commit
ba10c91d0e
15 changed files with 95 additions and 120 deletions
|
|
@ -43,7 +43,7 @@ class counterModel extends counter
|
|||
|
||||
if($iplogged)
|
||||
{
|
||||
Rhymix\Framework\Cache::set($group_key . ':' . $cache_key, $iplogged);
|
||||
Rhymix\Framework\Cache::set($group_key . ':' . $cache_key, $iplogged, 0, true);
|
||||
}
|
||||
|
||||
return $iplogged;
|
||||
|
|
@ -79,7 +79,7 @@ class counterModel extends counter
|
|||
|
||||
if($insertedTodayStatus)
|
||||
{
|
||||
Rhymix\Framework\Cache::set($cache_key, true);
|
||||
Rhymix\Framework\Cache::set($cache_key, true, 0, true);
|
||||
$_old_date = date('Ymd', strtotime('-1 day'));
|
||||
Rhymix\Framework\Cache::delete('counter:insertedTodayStatus:' . $site_srl . '_' . $_old_date);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue