regarding what to cache???
Ajinkya Nahar
ajinkya at truesparrow.com
Tue Sep 4 06:05:04 UTC 2007
Hi,
I am working on a PHP - Mysql application.
I wanted to ask that can we cache the result set returned by a particular
query into memcached?
If yes, can we fetch the same result set from memcached and use it without
database connection?
E.g.
$query = "SELECT * from ..";
$result = mysql_query($query);
$memcache_obj->set($key, $result);
Will this work??
Please let me know your comments.
Regards,
Ajinkya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070904/b960a8da/attachment-0001.htm
More information about the memcached
mailing list