{"action":"created","issue":{"url":"https://api.github.com/repos/atom/electron/issues/1404","labels_url":"https://api.github.com/repos/atom/electron/issues/1404/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/1404/comments","events_url":"https://api.github.com/repos/atom/electron/issues/1404/events","html_url":"https://github.com/atom/electron/issues/1404","id":67774705,"number":1404,"title":"Cache directory on windows should be %localappdata% by default","user":{"login":"felicienfrancois","id":988144,"avatar_url":"https://avatars.githubusercontent.com/u/988144?v=3","gravatar_id":"","url":"https://api.github.com/users/felicienfrancois","html_url":"https://github.com/felicienfrancois","followers_url":"https://api.github.com/users/felicienfrancois/followers","following_url":"https://api.github.com/users/felicienfrancois/following{/other_user}","gists_url":"https://api.github.com/users/felicienfrancois/gists{/gist_id}","starred_url":"https://api.github.com/users/felicienfrancois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicienfrancois/subscriptions","organizations_url":"https://api.github.com/users/felicienfrancois/orgs","repos_url":"https://api.github.com/users/felicienfrancois/repos","events_url":"https://api.github.com/users/felicienfrancois/events{/privacy}","received_events_url":"https://api.github.com/users/felicienfrancois/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/atom/electron/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-11T11:22:35Z","updated_at":"2015-10-01T11:35:19Z","closed_at":null,"body":"Currently cache directory is set to %APPDATA% by default on windows\r\nhttps://github.com/atom/atom-shell/blob/master/docs/api/app.md#appgetpathname\r\n\r\nBut unless what is said on the doc page, there is a path dedicated to cache on windows: %LOCALAPPDATA%\r\n\r\nAccording to https://en.wikipedia.org/wiki/Environment_variable#Windows,\r\n```\r\nLOCALAPPDATA is the temporary files of Applications. Its uses include storing of desktop themes, Windows error reporting, caching and profiles of web browsers.\r\n```\r\n\r\nSo cache path should be set to %LOCALAPPDATA% and HTTP Cache, GPUCache, ~~Local Storage, Cookies~~, ... should be moved to this dir.\r\nIt is important to do this because %APPDATA% is meant to be synchronised accross computer/devices unlike %LOCALAPPDATA%"},"comment":{"url":"https://api.github.com/repos/atom/electron/issues/comments/144703093","html_url":"https://github.com/atom/electron/issues/1404#issuecomment-144703093","issue_url":"https://api.github.com/repos/atom/electron/issues/1404","id":144703093,"user":{"login":"bux578","id":1235520,"avatar_url":"https://avatars.githubusercontent.com/u/1235520?v=3","gravatar_id":"","url":"https://api.github.com/users/bux578","html_url":"https://github.com/bux578","followers_url":"https://api.github.com/users/bux578/followers","following_url":"https://api.github.com/users/bux578/following{/other_user}","gists_url":"https://api.github.com/users/bux578/gists{/gist_id}","starred_url":"https://api.github.com/users/bux578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bux578/subscriptions","organizations_url":"https://api.github.com/users/bux578/orgs","repos_url":"https://api.github.com/users/bux578/repos","events_url":"https://api.github.com/users/bux578/events{/privacy}","received_events_url":"https://api.github.com/users/bux578/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T11:35:19Z","updated_at":"2015-10-01T11:35:19Z","body":"> This is causing a problem for exactly zero users right now\r\n\r\nThe folder is getting bigger and bigger and in our company \"Roaming\" is synced on every windows login/logoff. When using plugins you get tens of thousand node_module files that slow down the syncing process."}}