Added cache validation check