{"action":"created","issue":{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/81","labels_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/81/comments","events_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/81/events","html_url":"https://github.com/loadsys/CakePHP-Skeleton/issues/81","id":56245222,"number":81,"title":"Make memcache or redis the default caching/session engine.","user":{"login":"beporter","id":637270,"avatar_url":"https://avatars.githubusercontent.com/u/637270?v=3","gravatar_id":"","url":"https://api.github.com/users/beporter","html_url":"https://github.com/beporter","followers_url":"https://api.github.com/users/beporter/followers","following_url":"https://api.github.com/users/beporter/following{/other_user}","gists_url":"https://api.github.com/users/beporter/gists{/gist_id}","starred_url":"https://api.github.com/users/beporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beporter/subscriptions","organizations_url":"https://api.github.com/users/beporter/orgs","repos_url":"https://api.github.com/users/beporter/repos","events_url":"https://api.github.com/users/beporter/events{/privacy}","received_events_url":"https://api.github.com/users/beporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/labels/focus","name":"focus","color":"009800"},{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T14:48:55Z","updated_at":"2015-06-19T21:40:47Z","closed_at":null,"body":"One of the things we're trying to do here is move our company's state of the art forward. I think one of the ways to help do that is to \"mandate\" (well, strongly recommend) better minimum-quality configurations. (That's what the skeleton is all about, after all.)\r\n\r\nI'd like to suggest that the 3.0 skeleton ship with redis or memcache configured out of the box to handle sessions and caching. This would make it more likely that we'd continue to use those in production since they'd be well tested and \"comfortable\" configurations in development. Plus there would be less friction to **switch** to one of these because it'd already be set up.\r\n\r\nI don't care at all which one we decide on, or even if it's something besides these two. As long as it's easy to pre-bundle in vagrant, I'm game (which is why I suggested memcache and redis)."},"comment":{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/comments/113651132","html_url":"https://github.com/loadsys/CakePHP-Skeleton/issues/81#issuecomment-113651132","issue_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/81","id":113651132,"user":{"login":"beporter","id":637270,"avatar_url":"https://avatars.githubusercontent.com/u/637270?v=3","gravatar_id":"","url":"https://api.github.com/users/beporter","html_url":"https://github.com/beporter","followers_url":"https://api.github.com/users/beporter/followers","following_url":"https://api.github.com/users/beporter/following{/other_user}","gists_url":"https://api.github.com/users/beporter/gists{/gist_id}","starred_url":"https://api.github.com/users/beporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beporter/subscriptions","organizations_url":"https://api.github.com/users/beporter/orgs","repos_url":"https://api.github.com/users/beporter/repos","events_url":"https://api.github.com/users/beporter/events{/privacy}","received_events_url":"https://api.github.com/users/beporter/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T21:40:47Z","updated_at":"2015-06-19T21:40:47Z","body":"@loadsys/developers:\r\n\r\nRebumping this question regarding the group's preference for Redis or Memcache as a superior \"default\" caching engine that our skeleton recommends for Cake 3 projects.\r\n\r\nI have no strong opinion either way, so I lean towards the one that's easier to set up, maintain and secure.\r\n\r\nMemcache for example is (decent [guide](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-memcache-on-ubuntu-14-04) from Digital Ocean, info on [securing](https://serverfault.com/a/347622)):\r\n\r\n```shell\r\nsudo apt-get install memcached php5-memcached\r\n```\r\n\r\nRedis seems to require building from source because the Ubuntu package (at least) is pretty old ([guide](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis), [securing](http://redis.io/topics/security)). On that alone I'd lean towards Memcache.\r\n\r\n"}}