ZF-6468: "BlackHole" cache backend
Description
Sometimes developers want temporary disable caching. The easiest way is switch backend to some other. I propose include new backend with name "BlackHole". It is always return true for storing data, false when loading/test data, and empty array for searching by tags, etc... It implement Extended interface for more compatibility.
NB: 'caching=false' option is not equal this backend, i.e. you can use this backend as part of Two_Levels backends.
Comments
Posted by Ilya Gruzinov (shagren) on 2009-04-29T03:51:57.000+0000
BlackHole backend.
Posted by julien PAULI (doctorrock83) on 2009-04-30T01:08:23.000+0000
Yeah, a Null backend could be cool for testing purposes
Posted by Fabien MARTY (fab) on 2009-07-17T11:03:40.000+0000
change Assignee because I'm inactive now
Posted by Satoru Yoshida (satoruyoshida) on 2009-08-31T04:31:51.000+0000
Probabry, I think the method getFillingPercentage() should return integer zero instead of array() .
Posted by Ilya Gruzinov (shagren) on 2009-09-01T06:48:25.000+0000
Yes, you are right
Posted by Satoru Yoshida (satoruyoshida) on 2009-09-01T14:49:30.000+0000
Thanks comment, Ilya ;-)
Posted by Satoru Yoshida (satoruyoshida) on 2009-12-21T18:25:38.000+0000
It would be released in 1.10 . Plz try and report ;-)
Posted by Ilya Gruzinov (shagren) on 2009-12-22T02:24:14.000+0000
with current trunk - my application works good. But some slow now ;)