Preventing error response caching