{"action":"created","issue":{"url":"https://api.github.com/repos/jgable/gulp-cache/issues/51","labels_url":"https://api.github.com/repos/jgable/gulp-cache/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jgable/gulp-cache/issues/51/comments","events_url":"https://api.github.com/repos/jgable/gulp-cache/issues/51/events","html_url":"https://github.com/jgable/gulp-cache/issues/51","id":130005644,"number":51,"title":"Default settings merge files with same content","user":{"login":"iliakan","id":349336,"avatar_url":"https://avatars.githubusercontent.com/u/349336?v=3","gravatar_id":"","url":"https://api.github.com/users/iliakan","html_url":"https://github.com/iliakan","followers_url":"https://api.github.com/users/iliakan/followers","following_url":"https://api.github.com/users/iliakan/following{/other_user}","gists_url":"https://api.github.com/users/iliakan/gists{/gist_id}","starred_url":"https://api.github.com/users/iliakan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliakan/subscriptions","organizations_url":"https://api.github.com/users/iliakan/orgs","repos_url":"https://api.github.com/users/iliakan/repos","events_url":"https://api.github.com/users/iliakan/events{/privacy}","received_events_url":"https://api.github.com/users/iliakan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jgable/gulp-cache/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-30T16:24:25Z","updated_at":"2016-02-01T09:39:50Z","closed_at":null,"body":"The default settings look buggy.\r\n\r\nImagine you have `1.js` and `2.js` with same content.\r\nThe plugin will make the same cache for them.\r\n \r\nAnd will restore them in the single file also (twice 1.js in the stream instead of both). Just checked."},"comment":{"url":"https://api.github.com/repos/jgable/gulp-cache/issues/comments/177877365","html_url":"https://github.com/jgable/gulp-cache/issues/51#issuecomment-177877365","issue_url":"https://api.github.com/repos/jgable/gulp-cache/issues/51","id":177877365,"user":{"login":"iliakan","id":349336,"avatar_url":"https://avatars.githubusercontent.com/u/349336?v=3","gravatar_id":"","url":"https://api.github.com/users/iliakan","html_url":"https://github.com/iliakan","followers_url":"https://api.github.com/users/iliakan/followers","following_url":"https://api.github.com/users/iliakan/following{/other_user}","gists_url":"https://api.github.com/users/iliakan/gists{/gist_id}","starred_url":"https://api.github.com/users/iliakan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliakan/subscriptions","organizations_url":"https://api.github.com/users/iliakan/orgs","repos_url":"https://api.github.com/users/iliakan/repos","events_url":"https://api.github.com/users/iliakan/events{/privacy}","received_events_url":"https://api.github.com/users/iliakan/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T09:39:50Z","updated_at":"2016-02-01T09:39:50Z","body":"Here's the suggestion to simplify api:\r\n\r\n- `store(file)` takes a file and returns the object to store it the cache. Can optionally be an on array of properties. By default: `['contents']`.\r\n- `restore(file, cached)` takes the cache and applies it to the vinyl `file` object. By default: `['contents']`.\r\n\r\n"}}