routeMatch = $route_match; } /** * {@inheritdoc} */ public function check(Response $response, Request $request) { if (($route = $this->routeMatch->getRouteObject()) && $route->getOption('no_cache')) { return static::DENY; } } }