// cacheKey returns the cache key for req.
cacheKey returns the cache key for req.
// cacheKey returns the cache key for req .
func cacheKey(req *http.Request) string {
	if req.Method == http.MethodGet {
		return req.URL.String()
	} else {
		return req.Method + " " + req.URL.String()
	}
}
func cacheKey ( req * http . Request ) string { if req . Method == http . MethodGet { return req . URL . String ( ) } else { return req . Method + " " + req . URL . String ( ) } }
cacheKey returns the cache key for req.
cacheKey returns the cache key for req .