> So my question is, if we want to make sure our site is > never stale, then we need to invalidate all 100 of > those keys if someone inserts a new article. Now I'm > thinking I need to do a search in my keys to find all > article related keys and invalidate them.
An idea might be to determine the validity based on something other than the existance of the cached data. Keep track of the highest post id, or the most recent post timestamp, and if the cached value returned is older than that, disregard the info and refresh it. --Iain
