Would you support a stale-while-revalidate feature in this crate? If so, I'd be happy to start work on it.
EDIT: To clarify, I'd expect the mechanism to synchronize write access to the cache key as with the sync_writes feature, but rather than blocking, it would authorize failed attempts to return a stale value while the lock holder rebuilds the cache value.
Would you support a stale-while-revalidate feature in this crate? If so, I'd be happy to start work on it.
EDIT: To clarify, I'd expect the mechanism to synchronize write access to the cache key as with the
sync_writes
feature, but rather than blocking, it would authorize failed attempts to return a stale value while the lock holder rebuilds the cache value.