check cache lifetime to reduce cache mistakes