Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
http://ez.no/doc/components/view/trunk/(file)/introduction_Cache.html#a-simple-example However, the Cache workflow is overly rigid and does not properly account for cases where is is unknown if a cache has already been initialized. Imagine a situation where a series of functions all used and update the same cache. The workflow would look like this: Of course, the cacheExists function does not currently exist. The desired functionality could currently done using a try...catch but this is not ideal. It would look something like this: Environment: Operating System: Debian Linux Steps to Reproduce: $cache = ezcCacheManager::getCache( 'simple' ); |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||