/**
  * @param string  $build
  * @param Request $request
  * @return Response
  */
 public function appCacheAction($build, Request $request)
 {
     $this->closeSession($request);
     try {
         $appCacheFile = $this->application->getAppCacheFile($build);
     } catch (FileNotFoundException $e) {
         throw new NotFoundHttpException('Not Found', $e);
     }
     return $this->createBinaryFileResponse($request, $appCacheFile, 'text/cache-manifest');
 }