{"action":"created","issue":{"url":"https://api.github.com/repos/portier/portier-broker/issues/15","repository_url":"https://api.github.com/repos/portier/portier-broker","labels_url":"https://api.github.com/repos/portier/portier-broker/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/portier/portier-broker/issues/15/comments","events_url":"https://api.github.com/repos/portier/portier-broker/issues/15/events","html_url":"https://github.com/portier/portier-broker/pull/15","id":179556297,"number":15,"title":"Cache GET requests to OpenID providers.","user":{"login":"stephank","id":89950,"avatar_url":"https://avatars.githubusercontent.com/u/89950?v=3","gravatar_id":"","url":"https://api.github.com/users/stephank","html_url":"https://github.com/stephank","followers_url":"https://api.github.com/users/stephank/followers","following_url":"https://api.github.com/users/stephank/following{/other_user}","gists_url":"https://api.github.com/users/stephank/gists{/gist_id}","starred_url":"https://api.github.com/users/stephank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephank/subscriptions","organizations_url":"https://api.github.com/users/stephank/orgs","repos_url":"https://api.github.com/users/stephank/repos","events_url":"https://api.github.com/users/stephank/events{/privacy}","received_events_url":"https://api.github.com/users/stephank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-27T17:15:33Z","updated_at":"2016-10-06T16:49:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/portier/portier-broker/pulls/15","html_url":"https://github.com/portier/portier-broker/pull/15","diff_url":"https://github.com/portier/portier-broker/pull/15.diff","patch_url":"https://github.com/portier/portier-broker/pull/15.patch"},"body":"Fixes #6 and #7.\r\n\r\nNote that these are still babysteps in Rust for me. Beside that, some things I'm considering:\r\n\r\n - Maybe we should have `fetch_json_cached` be a store method. Seems like a slightly better place to handle this sort of thing than in oidc.\r\n\r\n - Minimum cache age is now not configurable. Simplest would be using `expire_keys`, but it seems weird to tie it to session lifespan. I'm itching to rename `expire_keys`, actually, and then we can have `session_age`, `min_cache_age`, and `max_cache_size` in the future. But I'm not sure what our view is on breaking changes?"},"comment":{"url":"https://api.github.com/repos/portier/portier-broker/issues/comments/252021844","html_url":"https://github.com/portier/portier-broker/pull/15#issuecomment-252021844","issue_url":"https://api.github.com/repos/portier/portier-broker/issues/15","id":252021844,"user":{"login":"stephank","id":89950,"avatar_url":"https://avatars.githubusercontent.com/u/89950?v=3","gravatar_id":"","url":"https://api.github.com/users/stephank","html_url":"https://github.com/stephank","followers_url":"https://api.github.com/users/stephank/followers","following_url":"https://api.github.com/users/stephank/following{/other_user}","gists_url":"https://api.github.com/users/stephank/gists{/gist_id}","starred_url":"https://api.github.com/users/stephank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephank/subscriptions","organizations_url":"https://api.github.com/users/stephank/orgs","repos_url":"https://api.github.com/users/stephank/repos","events_url":"https://api.github.com/users/stephank/events{/privacy}","received_events_url":"https://api.github.com/users/stephank/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T16:49:08Z","updated_at":"2016-10-06T16:49:08Z","body":"@djc Rebased again, should address all feedback!"}}
{"actor":{"display_login":"stephank"}}