If there are updates, why not either insert a new value, or just do a direct invalidation?

--
Dustin Sallings (mobile)

On Sep 28, 2007, at 21:15, "K J" <[EMAIL PROTECTED]> wrote:

I'm thinking of a strategy where default cache expirations are really long. However, if any updates are made, the expiration is changed to 3 minutes (if the existing cache expiration is longer than 3 minutes). This way for popuplar items, the refresh isn't constatn, rendering Memcache useless. At the same time, the cache isn't refreshed unnecessarily when there aren't any changes.

What do you guys think of this?

Reply via email to