Changing expiration

K J sanbat at
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

What do you guys think of this?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list