Added check for modication time to local cache