implemented recency check for cached structures