{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3699","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3699/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3699/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3699/events","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3699","id":89196506,"number":3699,"title":"Cache paths_for_attribute to speed up pod install","user":{"login":"vincentisambart","id":34704,"avatar_url":"https://avatars.githubusercontent.com/u/34704?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentisambart","html_url":"https://github.com/vincentisambart","followers_url":"https://api.github.com/users/vincentisambart/followers","following_url":"https://api.github.com/users/vincentisambart/following{/other_user}","gists_url":"https://api.github.com/users/vincentisambart/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentisambart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentisambart/subscriptions","organizations_url":"https://api.github.com/users/vincentisambart/orgs","repos_url":"https://api.github.com/users/vincentisambart/repos","events_url":"https://api.github.com/users/vincentisambart/events{/privacy}","received_events_url":"https://api.github.com/users/vincentisambart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-18T04:36:25Z","updated_at":"2015-06-18T23:59:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/3699","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3699","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/3699.diff","patch_url":"https://github.com/CocoaPods/CocoaPods/pull/3699.patch"},"body":"I'm not sure if caching paths_for_attribute is wise or not, but in my test it makes `pod install` on our app much faster: 140 sec → 20 sec. All specs still pass.\r\n\r\nIt might be problematic if the content on the file system changes during the run, that's why it's more of an experiment that anything else.\r\n\r\nWhat do you think?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/113321994","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3699#issuecomment-113321994","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3699","id":113321994,"user":{"login":"vincentisambart","id":34704,"avatar_url":"https://avatars.githubusercontent.com/u/34704?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentisambart","html_url":"https://github.com/vincentisambart","followers_url":"https://api.github.com/users/vincentisambart/followers","following_url":"https://api.github.com/users/vincentisambart/following{/other_user}","gists_url":"https://api.github.com/users/vincentisambart/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentisambart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentisambart/subscriptions","organizations_url":"https://api.github.com/users/vincentisambart/orgs","repos_url":"https://api.github.com/users/vincentisambart/repos","events_url":"https://api.github.com/users/vincentisambart/events{/privacy}","received_events_url":"https://api.github.com/users/vincentisambart/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T23:59:22Z","updated_at":"2015-06-18T23:59:22Z","body":"In fact that's the main problem: I don't see what would be the best place in the code to invalidate the cache."}}