PHP Zend 2缓存

时间:2014-05-06 13:26:40

标签: php caching zend-framework2 memcached

我对zend框架有点新意,对我们这些人来说,我的问题可能很愚蠢,但我希望我会得到正确的答案来帮助我推进我的项目。

我的问题是关于Zend缓存存储系统。 我想知道,如果有可能使用这样的接口作为" ClearByPrefixInterface"在memcache? http://framework.zend.com/manual/2.0/en/modules/zend.cache.storage.adapter.html

1 个答案:

答案 0 :(得分:1)

如果您查看与Memcached适配器相关的页面部分:

http://framework.zend.com/manual/2.0/en/modules/zend.cache.storage.adapter.html#the-memcached-adapter

你会看到" ClearByPrefixInterface"未列为适配器实现的接口之一。你总是可以编写自己的接口,或者只使用Memcached命名空间,它可能会完成与前缀相同的事情。