Changing expiration

K J sanbat at gmail.com
Sat Sep 29 04:15:32 UTC 2007


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070929/e033309f/attachment.htm


More information about the memcached mailing list