zend-cache
zend-cache copied to clipboard
This PR reduces arguments by reference often used on internal methods. It was previously done as performance improvement but in fact it decreases performance as PHP have to create a...
Since the `StorageFactory` only checks for the `EventsCapableInterface`, it would result in a `Call to undefined method WhateverStorage::hasPlugin`. Therefore, I would like to introduce that `PluginAwareInterface` for ZF3 and until...
One of the most confusion part of the current cache component is the usage of resource manager. The resource managers are used to instantiate resources (like an instance of `Memcache/d`)...
An extreme fast shared memory cache extension [YAC](http://pecl.php.net/package/yac). It's still in beta and it's not sure if this extension ever reaches it's beta state as it doesn't have a locking...
Implementation could looks like ``` function getItemWithCallback($key, $callback) { $item = $this->getItem($key); if ($item === false) { $item = $callback($key); $this->setItem($key, $item); } return $item; } ``` And with APCu...
This should be possible by the `zend_[shm|disk]_cache_add` functions. Needs to find out at which version these functions are available and if we have to test against it.
The Zend Data Cache comes with a compatibility layer for APC but the APC adapter doesn't work with it: ``` curl -sS -v 'http://localhost/test-zend-cache.php' * About to connect() to localhost...
Some of the current defined capabilities are very hard to understand/useless and I would like to define some of them. **`minTtl`** This defines the minimum supported TTL which is clear...
I would like to get your opinions about splitting zend-cache into different components. The reason for that is simply a testing and dependency hell. - It's not possible to define...