retrieving data from memcache

Posted by Adnan on Stack Overflow See other posts from Stack Overflow or by Adnan
Published on 2010-03-19T21:17:38Z Indexed on 2010/03/19 21:21 UTC
Read the original article Hit count: 176

Filed under:
|
|

Hello,

I am starting to learn the benefits of memcache, and would like to implement it on my project. I have understood most of it, such as how data can be retrieved by a key and so on.

Now I get it that I can put a post with all of its details in memcache and call the key POST:123, that is OK, and I can do it for each post.

But how to deal with the case when I query the table posts to get the list of all posts with their titles. Can this be done with memcache, or should this always be queried from the table?

© Stack Overflow or respective owner

Related posts about memcached

Related posts about php