{"action":"created","issue":{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/696","labels_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/696/comments","events_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/696/events","html_url":"https://github.com/EC-CUBE/ec-cube/issues/696","id":104196269,"number":696,"title":"Yaml のキャッシュ","user":{"login":"nanasess","id":815715,"avatar_url":"https://avatars.githubusercontent.com/u/815715?v=3","gravatar_id":"","url":"https://api.github.com/users/nanasess","html_url":"https://github.com/nanasess","followers_url":"https://api.github.com/users/nanasess/followers","following_url":"https://api.github.com/users/nanasess/following{/other_user}","gists_url":"https://api.github.com/users/nanasess/gists{/gist_id}","starred_url":"https://api.github.com/users/nanasess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanasess/subscriptions","organizations_url":"https://api.github.com/users/nanasess/orgs","repos_url":"https://api.github.com/users/nanasess/repos","events_url":"https://api.github.com/users/nanasess/events{/privacy}","received_events_url":"https://api.github.com/users/nanasess/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-01T06:36:04Z","updated_at":"2015-09-11T11:51:55Z","closed_at":null,"body":"Slack #test の議論より。\r\n\r\nEntity の Yaml を毎回パースしてそう。\r\nxdebug の結果を貼っておきます。\r\n\r\n![yaml](https://cloud.githubusercontent.com/assets/815715/9597676/219ed6f4-50bf-11e5-9aae-abaa818d3705.png)\r\n"},"comment":{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/comments/139527008","html_url":"https://github.com/EC-CUBE/ec-cube/issues/696#issuecomment-139527008","issue_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/696","id":139527008,"user":{"login":"nanasess","id":815715,"avatar_url":"https://avatars.githubusercontent.com/u/815715?v=3","gravatar_id":"","url":"https://api.github.com/users/nanasess","html_url":"https://github.com/nanasess","followers_url":"https://api.github.com/users/nanasess/followers","following_url":"https://api.github.com/users/nanasess/following{/other_user}","gists_url":"https://api.github.com/users/nanasess/gists{/gist_id}","starred_url":"https://api.github.com/users/nanasess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanasess/subscriptions","organizations_url":"https://api.github.com/users/nanasess/orgs","repos_url":"https://api.github.com/users/nanasess/repos","events_url":"https://api.github.com/users/nanasess/events{/privacy}","received_events_url":"https://api.github.com/users/nanasess/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T11:51:55Z","updated_at":"2015-09-11T11:51:55Z","body":"redis の例\r\n\r\n```diff\r\ndiff --git a/src/Eccube/Application.php b/src/Eccube/Application.php\r\nindex 08dd7c3..ae5bc44 100644\r\n--- a/src/Eccube/Application.php\r\n+++ b/src/Eccube/Application.php\r\n@@ -439,6 +439,26 @@ class Application extends ApplicationTrait\r\n             'orm.proxies_dir' => __DIR__ . '/../../app/cache/doctrine',\r\n             'orm.em.options' => array(\r\n                 'mappings' => $ormMappings,\r\n+                'metadata_cache' => array(\r\n+                    'driver' => 'redis',\r\n+                    'host' => '127.0.0.1',\r\n+                    'port' => '6379'\r\n+                ),\r\n+                'query_cache' => array(\r\n+                    'driver' => 'redis',\r\n+                    'host' => '127.0.0.1',\r\n+                    'port' => '6379'\r\n+                ),\r\n+                'result_cache' => array(\r\n+                    'driver' => 'redis',\r\n+                    'host' => '127.0.0.1',\r\n+                    'port' => '6379'\r\n+                ),\r\n+                'hydration_cache' => array(\r\n+                    'driver' => 'redis',\r\n+                    'host' => '127.0.0.1',\r\n+                    'port' => '6379'\r\n+                ),\r\n             ),\r\n         ));\r\n     }\r\n\r\n```\r\n\r\n![default](https://cloud.githubusercontent.com/assets/815715/9814142/a85384ec-58c6-11e5-919a-ae508117cc6f.PNG)\r\n\r\n商品一覧なのですが、 少し改善しました。\r\nしかし paginator がうまくキャッシュを使ってくれないようです。"}}