disable cache when not supported and improved error handling