{"action":"created","issue":{"url":"https://api.github.com/repos/encode/starlette/issues/252","repository_url":"https://api.github.com/repos/encode/starlette","labels_url":"https://api.github.com/repos/encode/starlette/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/encode/starlette/issues/252/comments","events_url":"https://api.github.com/repos/encode/starlette/issues/252/events","html_url":"https://github.com/encode/starlette/issues/252","id":388207442,"node_id":"MDU6SXNzdWUzODgyMDc0NDI=","number":252,"title":"Discussion: document cache usage","user":{"login":"argaen","id":3578154,"node_id":"MDQ6VXNlcjM1NzgxNTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3578154?v=4","gravatar_id":"","url":"https://api.github.com/users/argaen","html_url":"https://github.com/argaen","followers_url":"https://api.github.com/users/argaen/followers","following_url":"https://api.github.com/users/argaen/following{/other_user}","gists_url":"https://api.github.com/users/argaen/gists{/gist_id}","starred_url":"https://api.github.com/users/argaen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argaen/subscriptions","organizations_url":"https://api.github.com/users/argaen/orgs","repos_url":"https://api.github.com/users/argaen/repos","events_url":"https://api.github.com/users/argaen/events{/privacy}","received_events_url":"https://api.github.com/users/argaen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-12-06T13:11:11Z","updated_at":"2018-12-10T10:33:06Z","closed_at":null,"author_association":"NONE","body":"Hello! I think it would be interesting having a section in Starlette docs documenting how to use caching as this is something you end up doing typically for lots of services.\r\n\r\nI'm the maintainer of [aiocache](https://github.com/argaen/aiocache) which is a caching framework agnostic to any http framework. I could write docs about things like:\r\n- how to use aiocache with starlette for caching `endpoints`\r\n- how to write configuration for caching and load it when starting a Starlette app\r\n\r\nAny other thing you could think of you usually do when setting caching for your app. Also happy to receive comments, issues and PRs if you think there is anything missing to integrate nicely with Starlette :).\r\n\r\nWould you be interested on me providing a PR documenting that? A new section called \"Caching\" in https://www.starlette.io/ maybe?"},"comment":{"url":"https://api.github.com/repos/encode/starlette/issues/comments/445767458","html_url":"https://github.com/encode/starlette/issues/252#issuecomment-445767458","issue_url":"https://api.github.com/repos/encode/starlette/issues/252","id":445767458,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTc2NzQ1OA==","user":{"login":"tomchristie","id":647359,"node_id":"MDQ6VXNlcjY0NzM1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/647359?v=4","gravatar_id":"","url":"https://api.github.com/users/tomchristie","html_url":"https://github.com/tomchristie","followers_url":"https://api.github.com/users/tomchristie/followers","following_url":"https://api.github.com/users/tomchristie/following{/other_user}","gists_url":"https://api.github.com/users/tomchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchristie/subscriptions","organizations_url":"https://api.github.com/users/tomchristie/orgs","repos_url":"https://api.github.com/users/tomchristie/repos","events_url":"https://api.github.com/users/tomchristie/events{/privacy}","received_events_url":"https://api.github.com/users/tomchristie/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T10:33:06Z","updated_at":"2018-12-10T10:33:06Z","author_association":"MEMBER","body":"> sounds reasonable, I'll add the feature in aiocache and update here once its supported/released. May ask you to review it before that\r\n\r\nSure thing!\r\n\r\n> What do you mean by transparently supported? Both mecached and redis implementations use the pool provide by the clients\r\n\r\nGreat! (Transparent, in that you'll get a connection pool rather than a single connection, without having to explicitly ask for the pool first.)\r\n\r\nOne other question: Have you considered having the package housed under a GitHub organisation, such as aio-libs? (I see you're a member of that org)"}}
{"actor":{"display_login":"tomchristie"}}