Qiang Xue
5cbd5722c0
Fixes #1162 : removed constructors of cache dependency classes so that they can be easily created from configuration.
11 years ago
Panagiotis Moustafellos
63d391b309
typo fix
...
s/value to be cached value/value to be cached/g
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
8d4d0ee0bc
Update RedisCache.php
...
added version information
11 years ago
Qiang Xue
f415193cdc
Fixes #898 : supported different signature of MemCache::addServer().
11 years ago
Carsten Brandt
0e261fba5a
moved redis out of yii\db namespace
11 years ago
Alexander Makarov
a2b946e4d3
Zend Data Cache returns null when record doesn't exist (reverted from commit 590121c4ff
)
11 years ago
Alexander Makarov
590121c4ff
Zend Data Cache returns null when record doesn't exist
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
172d92958f
refactored code.
11 years ago
Carsten Brandt
427c373ba6
implement Cache::exists() for various cache backends
...
fixes #811
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
11 years ago
Qiang Xue
d34f8486ab
Fixes #811 .
11 years ago
Carsten Brandt
8beadc91f4
cleanup MemCache timeout API after #804
...
use milliseconds only and fall back to seconds for older memcache
versions.
11 years ago
Panagiotis Moustafellos
5311dac904
Added failureCallback, reduced timeouts to 1s
11 years ago
Panagiotis Moustafellos
b010ed8363
Mentioning that timeoutms is available in memcache only.
11 years ago
Panagiotis Moustafellos
7840ace6e6
Removed extra line
11 years ago
Panagiotis Moustafellos
5eff5310ba
Added timeoutms parameter in MemCache
11 years ago
callmez
a9b6dbdd5d
GroupDependency::generateDependencyData typo fix
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
12 years ago
Qiang Xue
4a0d2863f6
Fixes issue #421 : yii\db\Schema:refresh() does not clear all cache
12 years ago
Qiang Xue
00df1e88eb
Added GroupDependency.
12 years ago
Qiang Xue
b06d7a8675
refactored cache dependency methods.
12 years ago
Qiang Xue
870f65343b
Fixed a bug in ExpressionDependency.
12 years ago
Qiang Xue
3f22d18dfe
typo fix.
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
22357befad
Added "@runtime" and "@vendor" aliases.
12 years ago
Qiang Xue
36bbfd54ca
Implemented "@app/runtime" alias.
12 years ago
Qiang Xue
607f3a5987
Fixes issue #476
12 years ago
Qiang Xue
f5d0bcbcfc
Refactored cache key generation.
12 years ago
votintsev
0ab5bbaf40
Update Cache.php
...
Moved add prefix ($this->keyPrefix) to the key in function buildKey(). Could it be better?
12 years ago
votintsev
ead914176f
Update Cache.php
...
Fixed an example of using buildKey in the doc
12 years ago
resurtm
54610f179f
Better naming. Additional newline. Doctype tiny fix.
12 years ago
resurtm
ebcc936ab1
Fixes #145 . Reusable cache dependencies.
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago