{"action":"created","issue":{"url":"https://api.github.com/repos/WordImpress/Give/issues/3272","repository_url":"https://api.github.com/repos/WordImpress/Give","labels_url":"https://api.github.com/repos/WordImpress/Give/issues/3272/labels{/name}","comments_url":"https://api.github.com/repos/WordImpress/Give/issues/3272/comments","events_url":"https://api.github.com/repos/WordImpress/Give/issues/3272/events","html_url":"https://github.com/WordImpress/Give/issues/3272","id":327109411,"node_id":"MDU6SXNzdWUzMjcxMDk0MTE=","number":3272,"title":"perf(sessions): research use of PHP sessions throughout Give","user":{"login":"joehoyle","id":161683,"node_id":"MDQ6VXNlcjE2MTY4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/161683?v=4","gravatar_id":"","url":"https://api.github.com/users/joehoyle","html_url":"https://github.com/joehoyle","followers_url":"https://api.github.com/users/joehoyle/followers","following_url":"https://api.github.com/users/joehoyle/following{/other_user}","gists_url":"https://api.github.com/users/joehoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/joehoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehoyle/subscriptions","organizations_url":"https://api.github.com/users/joehoyle/orgs","repos_url":"https://api.github.com/users/joehoyle/repos","events_url":"https://api.github.com/users/joehoyle/events{/privacy}","received_events_url":"https://api.github.com/users/joehoyle/received_events","type":"User","site_admin":false},"labels":[{"id":861344537,"node_id":"MDU6TGFiZWw4NjEzNDQ1Mzc=","url":"https://api.github.com/repos/WordImpress/Give/labels/high-priority","name":"high-priority","color":"FF7E47","default":false}],"state":"closed","locked":false,"assignee":{"login":"ravinderk","id":1784821,"node_id":"MDQ6VXNlcjE3ODQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1784821?v=4","gravatar_id":"","url":"https://api.github.com/users/ravinderk","html_url":"https://github.com/ravinderk","followers_url":"https://api.github.com/users/ravinderk/followers","following_url":"https://api.github.com/users/ravinderk/following{/other_user}","gists_url":"https://api.github.com/users/ravinderk/gists{/gist_id}","starred_url":"https://api.github.com/users/ravinderk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravinderk/subscriptions","organizations_url":"https://api.github.com/users/ravinderk/orgs","repos_url":"https://api.github.com/users/ravinderk/repos","events_url":"https://api.github.com/users/ravinderk/events{/privacy}","received_events_url":"https://api.github.com/users/ravinderk/received_events","type":"User","site_admin":false},"assignees":[{"login":"ravinderk","id":1784821,"node_id":"MDQ6VXNlcjE3ODQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1784821?v=4","gravatar_id":"","url":"https://api.github.com/users/ravinderk","html_url":"https://github.com/ravinderk","followers_url":"https://api.github.com/users/ravinderk/followers","following_url":"https://api.github.com/users/ravinderk/following{/other_user}","gists_url":"https://api.github.com/users/ravinderk/gists{/gist_id}","starred_url":"https://api.github.com/users/ravinderk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravinderk/subscriptions","organizations_url":"https://api.github.com/users/ravinderk/orgs","repos_url":"https://api.github.com/users/ravinderk/repos","events_url":"https://api.github.com/users/ravinderk/events{/privacy}","received_events_url":"https://api.github.com/users/ravinderk/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/WordImpress/Give/milestones/69","html_url":"https://github.com/WordImpress/Give/milestone/69","labels_url":"https://api.github.com/repos/WordImpress/Give/milestones/69/labels","id":3394566,"node_id":"MDk6TWlsZXN0b25lMzM5NDU2Ng==","number":69,"title":"Sprint: 2018/06/06 - 2018/06/26","description":"","creator":{"login":"DevinWalker","id":1571635,"node_id":"MDQ6VXNlcjE1NzE2MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1571635?v=4","gravatar_id":"","url":"https://api.github.com/users/DevinWalker","html_url":"https://github.com/DevinWalker","followers_url":"https://api.github.com/users/DevinWalker/followers","following_url":"https://api.github.com/users/DevinWalker/following{/other_user}","gists_url":"https://api.github.com/users/DevinWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/DevinWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevinWalker/subscriptions","organizations_url":"https://api.github.com/users/DevinWalker/orgs","repos_url":"https://api.github.com/users/DevinWalker/repos","events_url":"https://api.github.com/users/DevinWalker/events{/privacy}","received_events_url":"https://api.github.com/users/DevinWalker/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":28,"state":"open","created_at":"2018-06-01T23:34:29Z","updated_at":"2018-06-20T04:50:26Z","due_on":"2018-06-26T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-05-28T20:12:18Z","updated_at":"2018-06-20T04:50:26Z","closed_at":"2018-06-20T04:50:25Z","author_association":"NONE","body":"Almost a duplicate of https://github.com/WordImpress/Give/issues/521, which was fixed but appears to be back. \r\n\r\nSpecifically it was fixed by this commit https://github.com/WordImpress/Give/pull/552/files#diff-d3edc19fec3fdac5e9147093267b2515R109, but then this was essentially reverted on https://github.com/WordImpress/Give/commit/243c02563dd90aecdeaa43c4e9d8a3b2bb258d9a which brought back the problem.\r\n\r\nhttps://github.com/WordImpress/Give/issues/1630 also looks like potentially a dupe, but not sure if that's more about how the sessions are stored.\r\n\r\nThe main issue here is that each page load on the front end causes a `setcookie` which means you pretty much can't cache any page, as every request will then have a wp_session cookie. From what I can see (please correct me if I'm wrong) it's not really possible to use Give in a high traffic environment, as this pretty much necessities multiple web servers (therefore needing to use cookie sessions) and each request causes a cache bypass due to sessions being initiated for every visitor of the WordPress site."},"comment":{"url":"https://api.github.com/repos/WordImpress/Give/issues/comments/398623392","html_url":"https://github.com/WordImpress/Give/issues/3272#issuecomment-398623392","issue_url":"https://api.github.com/repos/WordImpress/Give/issues/3272","id":398623392,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODYyMzM5Mg==","user":{"login":"ravinderk","id":1784821,"node_id":"MDQ6VXNlcjE3ODQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1784821?v=4","gravatar_id":"","url":"https://api.github.com/users/ravinderk","html_url":"https://github.com/ravinderk","followers_url":"https://api.github.com/users/ravinderk/followers","following_url":"https://api.github.com/users/ravinderk/following{/other_user}","gists_url":"https://api.github.com/users/ravinderk/gists{/gist_id}","starred_url":"https://api.github.com/users/ravinderk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravinderk/subscriptions","organizations_url":"https://api.github.com/users/ravinderk/orgs","repos_url":"https://api.github.com/users/ravinderk/repos","events_url":"https://api.github.com/users/ravinderk/events{/privacy}","received_events_url":"https://api.github.com/users/ravinderk/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T04:50:25Z","updated_at":"2018-06-20T04:50:25Z","author_association":"COLLABORATOR","body":"Closing this issue in favor of https://github.com/WordImpress/Give/issues/3386"}}
{"actor":{"display_login":"ravinderk"}}