2008年8月19日星期二

Re: [fw-mvc] Zend_Cache question

Hi,

2008/8/19 Paul Shoemaker <paul.shoemaker@helloecho.com>:
> According to
> http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.memcached the
> second paragraph states Be careful : with this backend, "tags" are not
> supported for the moment as the "doNotTestCacheValidity=true" argument.
> Can anyone tell me when tags will be implemented or perhaps a hint or two on
> how I may implement this by extending the Zend_Cache component?

The problem is "with memcache, cache records can be dropped by
memcache itself (even if they are not expired)"

So, it's difficult to implement tags in a good way in such conditions

I'm working now on a "two levels" backend (a fast but limited one like
Apc/Memcache/... and a less fast (but without low space limits)
backend like File/Sqlite/...).

Tags will be probably usable on this virtual backend which should be a
very cool thing.

Regards

--
Fabien MARTY
fabien.marty@gmail.com

没有评论: