{"action":"created","comment":{"url":"https://api.github.com/repos/redfin/react-server/pulls/comments/55272644","id":55272644,"diff_hunk":"@@ -101,6 +102,27 @@ Request.prototype.type = function (type) {\n \treturn this;\n }\n \n+Request.prototype.noCacheResponse = function () {\n+\tthis._noCacheResponse = true;\n+\treturn this;\n+}\n+\n+Request.prototype.getCacheEntry = function() {\n+\tif(this._noCacheResponse) {\n+\t\treturn new CacheEntry(\n+\t\t\tnull,","path":"packages/react-server/core/TritonAgent/Request.js","position":20,"original_position":20,"commit_id":"5c07ed6a1f27a643fbe5c76ef34015cecc39ec24","original_commit_id":"5c07ed6a1f27a643fbe5c76ef34015cecc39ec24","user":{"login":"roblg","id":777138,"avatar_url":"https://avatars.githubusercontent.com/u/777138?v=3","gravatar_id":"","url":"https://api.github.com/users/roblg","html_url":"https://github.com/roblg","followers_url":"https://api.github.com/users/roblg/followers","following_url":"https://api.github.com/users/roblg/following{/other_user}","gists_url":"https://api.github.com/users/roblg/gists{/gist_id}","starred_url":"https://api.github.com/users/roblg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblg/subscriptions","organizations_url":"https://api.github.com/users/roblg/orgs","repos_url":"https://api.github.com/users/roblg/repos","events_url":"https://api.github.com/users/roblg/events{/privacy}","received_events_url":"https://api.github.com/users/roblg/received_events","type":"User","site_admin":false},"body":"why not just pass `this._cache` in here?","created_at":"2016-03-07T21:11:02Z","updated_at":"2016-03-07T21:11:02Z","html_url":"https://github.com/redfin/react-server/pull/52#discussion_r55272644","pull_request_url":"https://api.github.com/repos/redfin/react-server/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/redfin/react-server/pulls/comments/55272644"},"html":{"href":"https://github.com/redfin/react-server/pull/52#discussion_r55272644"},"pull_request":{"href":"https://api.github.com/repos/redfin/react-server/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/redfin/react-server/pulls/52","id":61979773,"html_url":"https://github.com/redfin/react-server/pull/52","diff_url":"https://github.com/redfin/react-server/pull/52.diff","patch_url":"https://github.com/redfin/react-server/pull/52.patch","issue_url":"https://api.github.com/repos/redfin/react-server/issues/52","number":52,"state":"open","locked":false,"title":"Expose some helpers for external cache management","user":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"body":"- Request.noCacheReponse()\r\n    - Bypass the cache for the current request.\r\n- Request.getCacheEntry()\r\n    - Get the CacheEntry for the current request.","created_at":"2016-03-07T21:00:31Z","updated_at":"2016-03-07T21:11:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d9068de27e4ce19cfcd25ba4a98aa341ddebe8c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redfin/react-server/pulls/52/commits","review_comments_url":"https://api.github.com/repos/redfin/react-server/pulls/52/comments","review_comment_url":"https://api.github.com/repos/redfin/react-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redfin/react-server/issues/52/comments","statuses_url":"https://api.github.com/repos/redfin/react-server/statuses/5c07ed6a1f27a643fbe5c76ef34015cecc39ec24","head":{"label":"gigabo:external-cache","ref":"external-cache","sha":"5c07ed6a1f27a643fbe5c76ef34015cecc39ec24","user":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"repo":{"id":51473789,"name":"react-server","full_name":"gigabo/react-server","owner":{"login":"gigabo","id":115908,"avatar_url":"https://avatars.githubusercontent.com/u/115908?v=3","gravatar_id":"","url":"https://api.github.com/users/gigabo","html_url":"https://github.com/gigabo","followers_url":"https://api.github.com/users/gigabo/followers","following_url":"https://api.github.com/users/gigabo/following{/other_user}","gists_url":"https://api.github.com/users/gigabo/gists{/gist_id}","starred_url":"https://api.github.com/users/gigabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigabo/subscriptions","organizations_url":"https://api.github.com/users/gigabo/orgs","repos_url":"https://api.github.com/users/gigabo/repos","events_url":"https://api.github.com/users/gigabo/events{/privacy}","received_events_url":"https://api.github.com/users/gigabo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gigabo/react-server","description":"React server monorepo","fork":true,"url":"https://api.github.com/repos/gigabo/react-server","forks_url":"https://api.github.com/repos/gigabo/react-server/forks","keys_url":"https://api.github.com/repos/gigabo/react-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gigabo/react-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gigabo/react-server/teams","hooks_url":"https://api.github.com/repos/gigabo/react-server/hooks","issue_events_url":"https://api.github.com/repos/gigabo/react-server/issues/events{/number}","events_url":"https://api.github.com/repos/gigabo/react-server/events","assignees_url":"https://api.github.com/repos/gigabo/react-server/assignees{/user}","branches_url":"https://api.github.com/repos/gigabo/react-server/branches{/branch}","tags_url":"https://api.github.com/repos/gigabo/react-server/tags","blobs_url":"https://api.github.com/repos/gigabo/react-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gigabo/react-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gigabo/react-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/gigabo/react-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gigabo/react-server/statuses/{sha}","languages_url":"https://api.github.com/repos/gigabo/react-server/languages","stargazers_url":"https://api.github.com/repos/gigabo/react-server/stargazers","contributors_url":"https://api.github.com/repos/gigabo/react-server/contributors","subscribers_url":"https://api.github.com/repos/gigabo/react-server/subscribers","subscription_url":"https://api.github.com/repos/gigabo/react-server/subscription","commits_url":"https://api.github.com/repos/gigabo/react-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/gigabo/react-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/gigabo/react-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/gigabo/react-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/gigabo/react-server/contents/{+path}","compare_url":"https://api.github.com/repos/gigabo/react-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gigabo/react-server/merges","archive_url":"https://api.github.com/repos/gigabo/react-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gigabo/react-server/downloads","issues_url":"https://api.github.com/repos/gigabo/react-server/issues{/number}","pulls_url":"https://api.github.com/repos/gigabo/react-server/pulls{/number}","milestones_url":"https://api.github.com/repos/gigabo/react-server/milestones{/number}","notifications_url":"https://api.github.com/repos/gigabo/react-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gigabo/react-server/labels{/name}","releases_url":"https://api.github.com/repos/gigabo/react-server/releases{/id}","deployments_url":"https://api.github.com/repos/gigabo/react-server/deployments","created_at":"2016-02-10T21:31:33Z","updated_at":"2016-02-10T21:31:33Z","pushed_at":"2016-03-07T20:59:53Z","git_url":"git://github.com/gigabo/react-server.git","ssh_url":"git@github.com:gigabo/react-server.git","clone_url":"https://github.com/gigabo/react-server.git","svn_url":"https://github.com/gigabo/react-server","homepage":"","size":804,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"redfin:master","ref":"master","sha":"d6bb9234af01d9c94e9efb2f34491ba4daa28d2c","user":{"login":"redfin","id":6288468,"avatar_url":"https://avatars.githubusercontent.com/u/6288468?v=3","gravatar_id":"","url":"https://api.github.com/users/redfin","html_url":"https://github.com/redfin","followers_url":"https://api.github.com/users/redfin/followers","following_url":"https://api.github.com/users/redfin/following{/other_user}","gists_url":"https://api.github.com/users/redfin/gists{/gist_id}","starred_url":"https://api.github.com/users/redfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redfin/subscriptions","organizations_url":"https://api.github.com/users/redfin/orgs","repos_url":"https://api.github.com/users/redfin/repos","events_url":"https://api.github.com/users/redfin/events{/privacy}","received_events_url":"https://api.github.com/users/redfin/received_events","type":"Organization","site_admin":false},"repo":{"id":51392574,"name":"react-server","full_name":"redfin/react-server","owner":{"login":"redfin","id":6288468,"avatar_url":"https://avatars.githubusercontent.com/u/6288468?v=3","gravatar_id":"","url":"https://api.github.com/users/redfin","html_url":"https://github.com/redfin","followers_url":"https://api.github.com/users/redfin/followers","following_url":"https://api.github.com/users/redfin/following{/other_user}","gists_url":"https://api.github.com/users/redfin/gists{/gist_id}","starred_url":"https://api.github.com/users/redfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redfin/subscriptions","organizations_url":"https://api.github.com/users/redfin/orgs","repos_url":"https://api.github.com/users/redfin/repos","events_url":"https://api.github.com/users/redfin/events{/privacy}","received_events_url":"https://api.github.com/users/redfin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redfin/react-server","description":"React server monorepo","fork":false,"url":"https://api.github.com/repos/redfin/react-server","forks_url":"https://api.github.com/repos/redfin/react-server/forks","keys_url":"https://api.github.com/repos/redfin/react-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redfin/react-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redfin/react-server/teams","hooks_url":"https://api.github.com/repos/redfin/react-server/hooks","issue_events_url":"https://api.github.com/repos/redfin/react-server/issues/events{/number}","events_url":"https://api.github.com/repos/redfin/react-server/events","assignees_url":"https://api.github.com/repos/redfin/react-server/assignees{/user}","branches_url":"https://api.github.com/repos/redfin/react-server/branches{/branch}","tags_url":"https://api.github.com/repos/redfin/react-server/tags","blobs_url":"https://api.github.com/repos/redfin/react-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redfin/react-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redfin/react-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/redfin/react-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redfin/react-server/statuses/{sha}","languages_url":"https://api.github.com/repos/redfin/react-server/languages","stargazers_url":"https://api.github.com/repos/redfin/react-server/stargazers","contributors_url":"https://api.github.com/repos/redfin/react-server/contributors","subscribers_url":"https://api.github.com/repos/redfin/react-server/subscribers","subscription_url":"https://api.github.com/repos/redfin/react-server/subscription","commits_url":"https://api.github.com/repos/redfin/react-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/redfin/react-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/redfin/react-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/redfin/react-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/redfin/react-server/contents/{+path}","compare_url":"https://api.github.com/repos/redfin/react-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redfin/react-server/merges","archive_url":"https://api.github.com/repos/redfin/react-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redfin/react-server/downloads","issues_url":"https://api.github.com/repos/redfin/react-server/issues{/number}","pulls_url":"https://api.github.com/repos/redfin/react-server/pulls{/number}","milestones_url":"https://api.github.com/repos/redfin/react-server/milestones{/number}","notifications_url":"https://api.github.com/repos/redfin/react-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redfin/react-server/labels{/name}","releases_url":"https://api.github.com/repos/redfin/react-server/releases{/id}","deployments_url":"https://api.github.com/repos/redfin/react-server/deployments","created_at":"2016-02-09T19:20:35Z","updated_at":"2016-02-29T13:15:02Z","pushed_at":"2016-03-07T21:08:09Z","git_url":"git://github.com/redfin/react-server.git","ssh_url":"git@github.com:redfin/react-server.git","clone_url":"https://github.com/redfin/react-server.git","svn_url":"https://github.com/redfin/react-server","homepage":"","size":854,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":16,"forks":6,"open_issues":16,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redfin/react-server/pulls/52"},"html":{"href":"https://github.com/redfin/react-server/pull/52"},"issue":{"href":"https://api.github.com/repos/redfin/react-server/issues/52"},"comments":{"href":"https://api.github.com/repos/redfin/react-server/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/redfin/react-server/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/redfin/react-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redfin/react-server/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/redfin/react-server/statuses/5c07ed6a1f27a643fbe5c76ef34015cecc39ec24"}}}}