-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas D. wrote on 18.04.2010 02:11:
> Hi,
> 
> I want to cache loaded articles into Zend_Cache to save the roundtrip to the
> persistent store.
> 
> I don't see a need to set a lifetime for a cached article, because when I
> update or delete an article, I would also alter the cached version.
> 
> This leads to the question, what will happen, when my Zend_Cache is filled
> up? Would the save() method just return false?

What do you mean by "filled up"? There are more than 2^128 possible
keynames (depending on the system), and when you re-use a key, it will
override the old one. If you mean the storage being filled up, that
depends on the storage itself. With the filesystem storage, you will
certainly get a fatal error, while a memcached will just drop the oldest
entry to free some space.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvKXoYACgkQ0HfT5Ws789BR/ACgwPhUqGEQvN4KbQmDaINDDac2
Q9sAoKeBMTeLoNLx6qnY7WUo5WK9oqdK
=xpb+
-----END PGP SIGNATURE-----

Reply via email to