Aleksander Machniak
4cc20eef72
Fix bug where cache keys could exceed length limit specified in db schema ( #7004 )
2019-11-10 08:56:11 +01:00
Aleksander Machniak
e7ebff56df
PHPDoc fixes
2019-09-30 20:43:07 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
981cd8726d
Remove holes in cache index keys - makes the serialized representation shorter
2018-03-07 09:14:05 +01:00
Aleksander Machniak
d07b032bcd
Refactor cache code with separate engine-specific classes
2018-03-03 17:28:40 +01:00
Edgaras Lukoševičius
e371469664
Add Redis as cache backend
2018-02-01 16:30:19 +02:00
Aleksander Machniak
a1f679adca
Fixed redundancy in sql caching system and compatibility with Galera Cluster ( #5439 )
...
- Removed redundant 'created' column from cache and cache_shared tables
- Removed use of redundant data records
- Added missing primary keys (dictionary, cache, cache_shared tables)
2016-11-26 09:14:16 +01:00
Aleksander Machniak
e306328340
Fix storing "empty" values in rcube_cache/rcube_cache_shared ( #5519 )
2016-11-16 09:04:24 +01:00
Aleksander Machniak
7e90de4ef5
write_record() should return boolean value
2016-11-12 16:34:11 +01:00
Aleksander Machniak
4e0532808d
Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc ( #5452 )
...
Added memcache_max_allowed_packet and apc_max_allowed_packet settings
2016-10-16 11:19:30 +02:00
Aleksander Machniak
c1c0a0d815
Implemented rcube::sleep() method for disconnecting all external connection in long-running/sleeping scripts
2016-09-21 11:20:43 -04:00
Aleksander Machniak
c478536741
Make SQL selects less expensive in memory for some cases where we fetch big data chunks
2016-06-10 18:45:28 +02:00
Aleksander Machniak
9335f9cede
Reset internal cache index in close()
2015-07-22 06:15:48 -04:00
Aleksander Machniak
a958748947
CS fixes
2015-06-07 15:26:33 +02:00
Aleksander Machniak
b120d42f5b
Improved cache index changes detection (again)
2015-05-14 10:41:00 +02:00
Aleksander Machniak
044c1a0523
Simplified code + some CS fixes
2015-05-14 09:06:57 +02:00
Aleksander Machniak
652e11f82e
Fix missing index update after write() call
2015-05-13 04:46:21 -04:00
Aleksander Machniak
b1e35a685c
Performance: Improve changes detection, so we update index only if needed
2015-05-12 14:33:02 -04:00
Aleksander Machniak
11d5e7c100
Implemented memcache_debug also for session operations
2015-05-12 13:50:02 -04:00
Aleksander Machniak
9ed8584c3e
Count memcache/apc debug lines
2015-05-12 04:14:39 -04:00
Aleksander Machniak
fff8e0f2ae
Fix possible memcache/apc cache data consistency issues ( #1490390 )
...
And removed unused code
2015-05-12 09:09:13 +02:00
Aleksander Machniak
247b845a8e
Workaround possible issue where some keys were ignored when deleting cached entries
...
by key name prefix and keys index is in inconsistent state (does not contain all keys)
2015-05-11 12:07:27 +02:00
Aleksander Machniak
44708ec647
Implemented memcache_debug and apc_debug options for cache operations tracking
2015-05-08 08:51:56 -04:00
Aleksander Machniak
2a31f6dbd7
Reset default db_max_allowed_packet, fix max packet size detection
2015-02-25 21:08:16 +01:00
Aleksander Machniak
81d4ff214e
Fix setting max packet size for DB caches and check packet size also in shared cache
2015-02-19 10:24:09 +01:00
Aleksander Machniak
34a0902089
Use consistent column/table quoting in sql queries
2014-09-12 14:37:51 +02:00
Thomas Bruederli
5793309478
Limit cache data size to avoid database errors
2014-05-21 19:46:40 +02:00
Aleksander Machniak
60b6d7c389
Fix database cache expunge issues ( #1489149 ) - added 'expires' column
2013-06-09 11:07:46 +02:00
Aleksander Machniak
a6b0ca60a4
Fix bug where serialized strings were truncated in PDO::quote() ( #1489142 )
2013-06-02 14:33:11 +02:00
Aleksander Machniak
00cb22cf92
Expunge all cache instances in shutdown
2013-05-25 15:46:20 +02:00
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
2012-12-18 09:07:00 +01:00
Aleksander Machniak
ba6f21caeb
Framework files moved to lib/Roundcube
2012-11-21 19:52:03 +01:00