I think that common/CacheFile.php and common/CacheMemcache.php should go to
samplecontainer

and in the CacheMemcache.php file we should add a "namespace" in the key
such as

    public function set($key, $value)
    {
        $this->check();
        // we store it with the cache_time default expiration so objects
will atleast get cleaned eventually.
        if (@memcache_set($this->connection, *"Shindig:" . $key*,
array('time' => time(), 'data' => $value), false, Config::Get('cache_time'))
== false) {
            throw new CacheException("Couldn't store data in cache");
        }
    }

to avoid potential coalitions in shared memcache implementations.

ropu

-- 
.-. --- .--. ..-
R o p u

Reply via email to