public function storeAction(Request $request)
    {
        $response = $this->getCacheTimeKeeper()->getResponse([], self::CACHE_LIFETIME);
        // response was not modified for this request
        if ($response->isNotModified($request)) {
            return $response;
        }

        $plugins = [];
        $data = $this->get('anime_db.api.client')->getPlugins();
        foreach ($data['plugins'] as $plugin) {
            $plugins[$plugin['name']] = $plugin;
            $plugins[$plugin['name']]['installed'] = false;
        }

        /* @var $rep EntityRepository */
        $rep = $this->getDoctrine()->getRepository('AnimeDbAppBundle:Plugin');
        /* @var $plugin Plugin */
        foreach ($rep->findAll() as $plugin) {
            $plugins[$plugin->getName()]['installed'] = true;
        }

        return $this->render('AnimeDbCatalogBundle:Plugin:store.html.twig', [
            'plugins' => $plugins,
        ], $response);
    }