I've seen lots of postings about memcache and its use on GAE. The postings cover session caching as well as database selects. Many ask about how to clear a cache once an edit is performed.
Is there a definitive source for using memcache? Anything on the patterns to use in a real-world application? ie how to handle clearing the cache when an edit takes place? I've also read my copy of Web2py (2nd edition) - it's great on the basics of session memcaching (p305-306) but brief and lacking advice on use in selects. I think the use of memcache in Web2py is probably very straightforward but the tremendous number of postings and web pages on the subject has me a little lost as to the pattern to use for database selects and updates.

