pub fn is_stale(cache: Option<&Cache>, now: u64, ttl: Duration) -> boolExpand description
True when the cache is missing, older than ttl, or stamped in the
future. A future stamp means a clock moved backwards; treating it as fresh
would freeze the check until the clock caught up.