Commit graph

17 commits

Author SHA1 Message Date
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Kijin Sung
02b2d54275 Provide incr() and decr() as static methods of Cache class 2020-12-15 02:13:38 +09:00
Kijin Sung
2227e0d278 Make all cache drivers singleton instances 2016-04-24 16:30:20 +09:00
Kijin Sung
9b71df6a01 Add Cache::getDriverName() and clean up confusing method names 2016-04-24 16:02:54 +09:00
Kijin Sung
ba10c91d0e Change default cache driver to 'dummy' with minimal caching 2016-04-22 23:26:04 +09:00
Kijin Sung
ba9adb2f6e Fix duplication of key group version in third-party modules 2016-04-18 20:55:41 +09:00
Kijin Sung
26c5a18a5b Use simpler syntax for cache groups 2016-04-18 20:50:51 +09:00
Kijin Sung
e8d117d2f5 Cache group versions internally 2016-04-18 17:46:49 +09:00
Kijin Sung
8d733f1928 Change internal representation of cache groups 2016-04-18 17:41:00 +09:00
Kijin Sung
050a507707 Migrate cache configuration format, keeping backward compatibility 2016-04-17 19:52:31 +09:00
Kijin Sung
194cf3fa70 Enable all cache drivers, and add initial implementation of SQLite driver 2016-04-17 17:36:02 +09:00
Kijin Sung
ca56ff474f Automatically convert to relative TTL if Unix timestamp is given 2016-04-17 16:30:06 +09:00
Kijin Sung
89ae581e55 Update admin module to use new Cache system 2016-04-17 15:01:42 +09:00
Kijin Sung
568151b5ee Add comments to cache files 2016-04-17 14:41:18 +09:00
Kijin Sung
273671cf4e Use file cache if no other cache is configured 2016-04-17 12:50:31 +09:00
Kijin Sung
3aab255c0d Always cast the TTL to integer 2016-04-17 11:33:38 +09:00
Kijin Sung
6d5480ecfb Add Cache class and CacheInterface for drivers 2016-04-17 00:36:25 +09:00