Returns a cache key for the given Request.
Request $request A Request instance:
string A key for the given Request
private function getCacheKey(Request $request) {
if (isset($this->keyCache[$request])) {
return $this->keyCache[$request];
}
return $this->keyCache[$request] = 'md' . sha1($request
->getUri());
}