cache lifetime checking