{"action":"opened","number":285,"pull_request":{"url":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285","id":47875827,"html_url":"https://github.com/kriasoft/react-starter-kit/pull/285","diff_url":"https://github.com/kriasoft/react-starter-kit/pull/285.diff","patch_url":"https://github.com/kriasoft/react-starter-kit/pull/285.patch","issue_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/285","number":285,"state":"open","locked":false,"title":"feat(webpack): long term caching with webpack","user":{"login":"vishwanatharondekar","id":1109932,"avatar_url":"https://avatars.githubusercontent.com/u/1109932?v=3","gravatar_id":"","url":"https://api.github.com/users/vishwanatharondekar","html_url":"https://github.com/vishwanatharondekar","followers_url":"https://api.github.com/users/vishwanatharondekar/followers","following_url":"https://api.github.com/users/vishwanatharondekar/following{/other_user}","gists_url":"https://api.github.com/users/vishwanatharondekar/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwanatharondekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwanatharondekar/subscriptions","organizations_url":"https://api.github.com/users/vishwanatharondekar/orgs","repos_url":"https://api.github.com/users/vishwanatharondekar/repos","events_url":"https://api.github.com/users/vishwanatharondekar/events{/privacy}","received_events_url":"https://api.github.com/users/vishwanatharondekar/received_events","type":"User","site_admin":false},"body":"Webpack supports [long term caching](http://webpack.github.io/docs/long-term-caching.html). I have already done this in my project. Changes requires some config additions in `tools/config.js` for webpack and mechanism to replace the main chunk generated in html.js . Ugliest part of this pull request is the replace. It changes file in your source which causes it to show as modified in git which I really dont like but have to lilve with. Any changes suggested to do it better way will be welcome.","created_at":"2015-10-16T06:41:30Z","updated_at":"2015-10-16T06:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285/commits","review_comments_url":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285/comments","review_comment_url":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/285/comments","statuses_url":"https://api.github.com/repos/kriasoft/react-starter-kit/statuses/a834fb03d3ed688d18d8a2338f5207b8aec00841","head":{"label":"vishwanatharondekar:feature/long-term-caching","ref":"feature/long-term-caching","sha":"a834fb03d3ed688d18d8a2338f5207b8aec00841","user":{"login":"vishwanatharondekar","id":1109932,"avatar_url":"https://avatars.githubusercontent.com/u/1109932?v=3","gravatar_id":"","url":"https://api.github.com/users/vishwanatharondekar","html_url":"https://github.com/vishwanatharondekar","followers_url":"https://api.github.com/users/vishwanatharondekar/followers","following_url":"https://api.github.com/users/vishwanatharondekar/following{/other_user}","gists_url":"https://api.github.com/users/vishwanatharondekar/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwanatharondekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwanatharondekar/subscriptions","organizations_url":"https://api.github.com/users/vishwanatharondekar/orgs","repos_url":"https://api.github.com/users/vishwanatharondekar/repos","events_url":"https://api.github.com/users/vishwanatharondekar/events{/privacy}","received_events_url":"https://api.github.com/users/vishwanatharondekar/received_events","type":"User","site_admin":false},"repo":{"id":44366185,"name":"react-starter-kit","full_name":"vishwanatharondekar/react-starter-kit","owner":{"login":"vishwanatharondekar","id":1109932,"avatar_url":"https://avatars.githubusercontent.com/u/1109932?v=3","gravatar_id":"","url":"https://api.github.com/users/vishwanatharondekar","html_url":"https://github.com/vishwanatharondekar","followers_url":"https://api.github.com/users/vishwanatharondekar/followers","following_url":"https://api.github.com/users/vishwanatharondekar/following{/other_user}","gists_url":"https://api.github.com/users/vishwanatharondekar/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwanatharondekar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwanatharondekar/subscriptions","organizations_url":"https://api.github.com/users/vishwanatharondekar/orgs","repos_url":"https://api.github.com/users/vishwanatharondekar/repos","events_url":"https://api.github.com/users/vishwanatharondekar/events{/privacy}","received_events_url":"https://api.github.com/users/vishwanatharondekar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vishwanatharondekar/react-starter-kit","description":"React Starter Kit — a skeleton of an \"isomorphic\" web application / SPA built with React.js, Express, Flux, ES6+, JSX, Babel, PostCSS, Webpack, BrowserSync...","fork":true,"url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit","forks_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/forks","keys_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/teams","hooks_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/hooks","issue_events_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/issues/events{/number}","events_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/events","assignees_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/assignees{/user}","branches_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/branches{/branch}","tags_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/tags","blobs_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/languages","stargazers_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/stargazers","contributors_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/contributors","subscribers_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/subscribers","subscription_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/subscription","commits_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/contents/{+path}","compare_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/merges","archive_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/downloads","issues_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/issues{/number}","pulls_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/labels{/name}","releases_url":"https://api.github.com/repos/vishwanatharondekar/react-starter-kit/releases{/id}","created_at":"2015-10-16T06:19:56Z","updated_at":"2015-10-16T06:19:57Z","pushed_at":"2015-10-16T06:38:12Z","git_url":"git://github.com/vishwanatharondekar/react-starter-kit.git","ssh_url":"git@github.com:vishwanatharondekar/react-starter-kit.git","clone_url":"https://github.com/vishwanatharondekar/react-starter-kit.git","svn_url":"https://github.com/vishwanatharondekar/react-starter-kit","homepage":"http://www.reactstarterkit.com","size":3395,"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":"kriasoft:master","ref":"master","sha":"989918622ee2811847cdc8d78fdf11fa4e4b7381","user":{"login":"kriasoft","id":773036,"avatar_url":"https://avatars.githubusercontent.com/u/773036?v=3","gravatar_id":"","url":"https://api.github.com/users/kriasoft","html_url":"https://github.com/kriasoft","followers_url":"https://api.github.com/users/kriasoft/followers","following_url":"https://api.github.com/users/kriasoft/following{/other_user}","gists_url":"https://api.github.com/users/kriasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/kriasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriasoft/subscriptions","organizations_url":"https://api.github.com/users/kriasoft/orgs","repos_url":"https://api.github.com/users/kriasoft/repos","events_url":"https://api.github.com/users/kriasoft/events{/privacy}","received_events_url":"https://api.github.com/users/kriasoft/received_events","type":"Organization","site_admin":false},"repo":{"id":18840003,"name":"react-starter-kit","full_name":"kriasoft/react-starter-kit","owner":{"login":"kriasoft","id":773036,"avatar_url":"https://avatars.githubusercontent.com/u/773036?v=3","gravatar_id":"","url":"https://api.github.com/users/kriasoft","html_url":"https://github.com/kriasoft","followers_url":"https://api.github.com/users/kriasoft/followers","following_url":"https://api.github.com/users/kriasoft/following{/other_user}","gists_url":"https://api.github.com/users/kriasoft/gists{/gist_id}","starred_url":"https://api.github.com/users/kriasoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kriasoft/subscriptions","organizations_url":"https://api.github.com/users/kriasoft/orgs","repos_url":"https://api.github.com/users/kriasoft/repos","events_url":"https://api.github.com/users/kriasoft/events{/privacy}","received_events_url":"https://api.github.com/users/kriasoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kriasoft/react-starter-kit","description":"React Starter Kit — a skeleton of an \"isomorphic\" web application / SPA built with React.js, Express, Flux, ES6+, JSX, Babel, PostCSS, Webpack, BrowserSync...","fork":false,"url":"https://api.github.com/repos/kriasoft/react-starter-kit","forks_url":"https://api.github.com/repos/kriasoft/react-starter-kit/forks","keys_url":"https://api.github.com/repos/kriasoft/react-starter-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kriasoft/react-starter-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kriasoft/react-starter-kit/teams","hooks_url":"https://api.github.com/repos/kriasoft/react-starter-kit/hooks","issue_events_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/events{/number}","events_url":"https://api.github.com/repos/kriasoft/react-starter-kit/events","assignees_url":"https://api.github.com/repos/kriasoft/react-starter-kit/assignees{/user}","branches_url":"https://api.github.com/repos/kriasoft/react-starter-kit/branches{/branch}","tags_url":"https://api.github.com/repos/kriasoft/react-starter-kit/tags","blobs_url":"https://api.github.com/repos/kriasoft/react-starter-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kriasoft/react-starter-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kriasoft/react-starter-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/kriasoft/react-starter-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kriasoft/react-starter-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/kriasoft/react-starter-kit/languages","stargazers_url":"https://api.github.com/repos/kriasoft/react-starter-kit/stargazers","contributors_url":"https://api.github.com/repos/kriasoft/react-starter-kit/contributors","subscribers_url":"https://api.github.com/repos/kriasoft/react-starter-kit/subscribers","subscription_url":"https://api.github.com/repos/kriasoft/react-starter-kit/subscription","commits_url":"https://api.github.com/repos/kriasoft/react-starter-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/kriasoft/react-starter-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/kriasoft/react-starter-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/kriasoft/react-starter-kit/contents/{+path}","compare_url":"https://api.github.com/repos/kriasoft/react-starter-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kriasoft/react-starter-kit/merges","archive_url":"https://api.github.com/repos/kriasoft/react-starter-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kriasoft/react-starter-kit/downloads","issues_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues{/number}","pulls_url":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/kriasoft/react-starter-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/kriasoft/react-starter-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kriasoft/react-starter-kit/labels{/name}","releases_url":"https://api.github.com/repos/kriasoft/react-starter-kit/releases{/id}","created_at":"2014-04-16T13:08:18Z","updated_at":"2015-10-16T06:12:29Z","pushed_at":"2015-10-16T06:41:30Z","git_url":"git://github.com/kriasoft/react-starter-kit.git","ssh_url":"git@github.com:kriasoft/react-starter-kit.git","clone_url":"https://github.com/kriasoft/react-starter-kit.git","svn_url":"https://github.com/kriasoft/react-starter-kit","homepage":"http://www.reactstarterkit.com","size":3395,"stargazers_count":4262,"watchers_count":4262,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":765,"mirror_url":null,"open_issues_count":99,"forks":765,"open_issues":99,"watchers":4262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285"},"html":{"href":"https://github.com/kriasoft/react-starter-kit/pull/285"},"issue":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/285"},"comments":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/kriasoft/react-starter-kit/statuses/a834fb03d3ed688d18d8a2338f5207b8aec00841"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":5,"changed_files":1}}