Re[2]: [PEAR-DEV] cmysql (was: Package proposal)
| From: | Maxim Antipin | Date: | Tue, 12 Oct 2004 10:01:48 +0000 |
| Subject: | Re[2]: [PEAR-DEV] cmysql (was: Package proposal) | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33791@lists.php.net to get a copy of this message | ||
Hello Joshua,
Tuesday, October 12, 2004, 4:34:24 PM, you wrote:
JE> How does you keep your cache from becoming stale. The mysql query cache
JE> is able to invalidate on any update, even if its made from an admin
JE> tool. Seems like your cache doesn't have that ability.
Obviously it does not have this ability. It would be a real miracle if
it could to do so. Cache just watches all queries passed to 'execute'
method and if it is data modification query it invalidates cache of
queries related to modified tables.
By the way i provided link to all sources in my first message to allow
anyone to test how it works and examine implementation details.
Here it is again: http://demo.itscript.com/src/pear.tar.gz
--
Best regards,
Maxim Antipin (ITScript CEO) mailto:max@itscript.com