Commit Graph
25 Commits
Author SHA1 Message Date
liugang 73d1b4cea1 * [refac] check variable's type before using it as an array. 2024-12-11 09:39:41 +08:00
liugang 50cb2310b6 * [refac] fix type error when the cache doesn't exist. 2024-12-11 09:32:15 +08:00
liugang 37d7879cf6 + [refac] select database after connected to redis server. 2024-11-20 15:42:49 +08:00
liugang 335d4e23bf * [refac] if not all data in cache, get the missing data from the database. 2024-11-20 15:42:49 +08:00
liugang 9c100fa04d * [refac] refactor cache library. 2024-11-20 15:42:49 +08:00
liugang e55458ac98 * [refac] optimize ttl parameter. 2024-11-20 15:42:49 +08:00
liugang 2e20324fe6 + [refac] close cache connection when program is shutdown. 2024-11-20 15:42:49 +08:00
liugang 871637c2af * [refac] fix error. 2024-11-20 15:42:49 +08:00
liugang b6fe5f9318 * [refac] calling method in helper class to connect redis server. 2024-11-20 15:42:49 +08:00
liugang b0e0090809 + [refac] add method to get memory usage. 2024-11-20 15:42:49 +08:00
liugang 4a01690b1e * [refac] simplify apcu driver class and redis driver class. 2024-11-20 15:42:49 +08:00
liugang f3c6734ae6 * [refac] set serializer of php redis. 2024-11-20 15:42:49 +08:00
liugang 125e75249f * [refac] add method to connect redis server. 2024-11-20 15:42:49 +08:00
dingguodong 602fb54d68 * [task#121999] Adjust the comments. 2024-06-28 16:59:08 +08:00
dingguodong 49c9db937d * [task#121999] Flush redis db without deleting session keys. 2024-06-28 16:59:08 +08:00
dingguodong 341925be90 * [task#121999] Reformat code. 2024-06-28 16:59:08 +08:00
dingguodong 2dbbf4704e + [task#121999] Add the redis cache driver. 2024-06-28 16:59:08 +08:00
Lufei cf5b5ea572 - Remove return type. 2023-06-26 17:00:01 +08:00
Lufei 9de92404d3 - Remove CacheException for fileDriver. 2023-06-05 14:21:48 +08:00
Lufei 9bac1239d1 * Optimize cache class. 2023-06-02 15:41:35 +08:00
鲁飞 5d14691c01 * Fix missing md5 for cache file. 2023-06-02 11:25:57 +08:00
Lufei bee459afd9 * Fix cache ttl error. 2023-06-02 11:21:59 +08:00
鲁飞 74a22606bf * Fix typo. 2023-06-01 10:03:27 +08:00
Lufei 0f7204388c + Support file cache. 2023-05-04 19:29:40 +08:00
鲁飞 c93d138a83 + Support Apcu and Yac cache driver. 2023-02-22 06:20:00 +00:00