Kamil Wylegala
98ecc6cfc3
Removed usage of deprecated getKeys in favor of keys() from phpredis
2023-10-19 23:25:34 +02:00
mark_story
4d0a209033
Fix shutdown warnings in PHP7.2+
...
Check if the current file is valid before re-using it. This fixes
warnings emitted during process shutdown when DboSource is persisting
the method cache.
Fixes #13085
2019-04-16 21:23:58 -04:00
Benjamin Stout
71f5133a86
Use strict comparison instead of function call - #13001
2019-02-21 11:44:38 -08:00
Benjamin Stout
0cc3509b74
Prevent attempting to close an uninitialized Redis instance (issue #13001 )
2019-02-19 18:21:44 -08:00
Benjamin Stout
d486e1ca9e
Wrap index reference in empty() check - closes cakephp#13001
2019-02-19 16:32:25 -08:00
Val Bancer
0f51c75157
replaced vsprintf to implode
2017-12-28 16:15:14 +01:00
Val Bancer
7ae84e3d5d
Makes the cache key shorter by using md5()
2017-12-28 10:02:35 +01:00
mark_story
2032fef772
Merge branch '2.x' into 2.next
2017-06-26 21:51:41 -04:00
Marc Würth
da8414e13b
Use HTTPS for the opensource.org MIT license URL
2017-06-11 00:23:22 +02:00
Marc Würth
10b89b51a9
Use HTTPS for the cakefoundation.org URL
2017-06-11 00:10:59 +02:00
Marc Würth
17314baa15
Use HTTPS for the cakephp.org URL
2017-06-10 23:40:28 +02:00
mark_story
837741db66
Merge branch '2.x' into 2.next
2016-12-13 22:48:44 -05:00
mark_story
bbb87b3e87
Use null instead of false for failure.
...
null is better to indicate that a thing doesn't exist.
2016-11-26 10:38:28 -05:00
Mischa ter Smitten
175503fafa
Expose engines
...
By implementing the `engine` method just like in version 3
2016-11-11 13:42:22 +01:00
Gareth Ellis
5eb9dde78a
Adds a check that dir() has returned an instance of Directory to FileEngine::_clearDirectory()
2016-10-02 10:59:27 +01:00
mark_story
a10bdb226a
Document the ext/memcached version requirements.
...
Refs #9252
2016-08-13 19:38:31 -04:00
Juan Basso
fa6e74ca22
Improved apc calls
...
Instead of calling the call_user_func_array it does the call directly. It is a little bit more verbose, but performs better.
2016-05-07 14:26:09 -04:00
Juan Basso
4a61f7f23c
Supporting APCu on PHP 7
2016-05-07 03:46:21 -04:00
mark_story
ab79ab9c55
Fix short-array usage.
2016-04-30 14:14:45 -04:00
Philippe Saint-Just
cd07850337
Merge branch 'backport-8741-8690' into 2.x
2016-04-30 13:11:34 -04:00
mark_story
3ed321dff4
Handle negative numbers in Redis correctly.
...
Update number sniff to handle negative numbers. We need to do number
sniffing so we can maintain compatbility between write() and
increment()/decrement().
Refs #8364
2016-02-27 00:07:58 -05:00
mark_story
d773644232
Merge branch '2.7' into 2.8
2016-01-12 22:14:16 -05:00
Mischa ter Smitten
8d472a5d78
Memcached can not connect using a socket
...
Fixes #8018
2016-01-12 21:01:14 +01:00
Larry E. Masters
c2449c9d16
Fixing Code Sniffer errors
2015-12-28 17:15:23 -05:00
Larry E. Masters
46d385ac73
Should be able to write a file with no data in it.
2015-12-27 22:25:23 -05:00
Larry E. Masters
776c128fe0
Adding boolean return in Cache::gc
2015-12-22 16:15:53 -05:00
Larry E. Masters
577e1b089f
Revert "Forcing bool return"
...
This reverts commit fac95baee7
.
2015-12-14 19:31:08 -06:00
Larry E. Masters
572ca1458b
Revert "Forcing bool"
...
This reverts commit 26ea74cbcf
.
2015-12-14 19:30:52 -06:00
Larry E. Masters
dd211e9158
Revert "Changing where bool is returned"
...
This reverts commit 8f52cefdcc
.
2015-12-14 19:30:42 -06:00
Larry E. Masters
975262b03e
Revert "Correcting return"
...
This reverts commit 6e09e64432
.
2015-12-14 19:30:16 -06:00
Larry E. Masters
6e09e64432
Correcting return
2015-12-14 10:46:16 -06:00
Larry E. Masters
8f52cefdcc
Changing where bool is returned
2015-12-14 09:17:29 -06:00
Larry E. Masters
26ea74cbcf
Forcing bool
2015-12-13 20:06:05 -06:00
Larry E. Masters
fac95baee7
Forcing bool return
2015-12-13 20:05:54 -06:00
Rachman Chavik
c1b6f89b23
Workaround for Cache::write() call from DboSource::__destruct()
...
Closes #7559
2015-10-30 10:14:16 +07:00
mark_story
8c404ad6a7
Merge branch '2.7' into 2.8
2015-10-17 21:00:26 -04:00
mark_story
e8a0726737
Fix error when Memcached::getAllKeys() fails.
...
Refs #7546
2015-10-14 21:56:01 -04:00
mark_story
67585d6fe1
Data must be serialized before being written
...
Data is unserialized by redis engine on read, so we have to serialized
on write.
2015-08-09 16:00:44 -04:00
mark_story
d6251eff19
Fix parameter order.
2015-08-09 15:54:09 -04:00
mark_story
a5ff7ecaa3
Merge branch 'memcached-add-method' into 2.8
...
Refs #7165
2015-08-09 15:29:33 -04:00
mark_story
d79855a77a
Tweak doc blocks for Cache::add().
2015-08-09 15:21:56 -04:00
Nick Cinger
41d0e1df19
Cache add() method added for all Cache engines.
2015-08-09 15:32:02 +02:00
Mark Scherer
a239324a0d
use constant PHP_SAPI
2015-07-26 15:35:03 +02:00
Mark Scherer
52e79987a2
Replacing self with static due to PHP5.3+. Following #7040 .
2015-07-21 10:22:53 +02:00
Walther Lalk
359c0ab816
Fix issue with memcache and domains starting with letter "u"
2015-03-19 11:42:14 +02:00
antograssiot
c2f298a8b7
Replace our custom code fence with markdown standard fence
2015-01-09 13:47:25 +01:00
mark_story
d7bc73b1e3
Improve error used when a cache configuation fails to start.
...
Refs #5570
2015-01-04 19:54:58 -05:00
mark_story
ad2d6edda9
Merge branch 'master' into 2.6
2014-12-06 21:28:59 -05:00
shin1x1
a5843dbe87
add binary protocol option in MemcachedEngine
2014-12-02 19:56:30 +09:00
mark_story
543f05e3d0
Merge branch 'master' into 2.6
2014-11-29 22:00:00 -05:00