Allow caching for schemes other than http.