Validate cache path