Skip to content

AppData folder has large cache which affects "roaming profile" users #6523

Open

Description

@LipkeGu

It would be nice when Github Desktop doesnt store its temp files in the roaming part of of a user profile
C:\Users\LipkeGu\AppData\Roaming\GitHub Desktop\Cache

Also in Windows the location is limit to a specified size (30MB) in enterprises,
This folder "Roaming" gets uploaded to the server when logging of and downloaded when logging on.
On slow lines its can take up to hours.

It would be nice when this Bug could be fixed and the path is used in further versions:
C:\Users\LipkeGu\AppData*local*\GitHub Desktop\Cache

Activity

  1. added
    windows
    on Jan 2, 2019
  2. changed the title [-][Windows]: Github is not "roaming profile" aware![/-] [+]App is not "roaming profile" aware on Windows[/+] on Jan 2, 2019
  3. shiftkey commented on Jan 2, 2019

    @shiftkey
    Member

    @LipkeGu thanks for the report.

    It would be nice when Github Desktop doesnt store its temp files in the roaming part of of a user profile
    C:\Users\LipkeGu\AppData\Roaming\GitHub Desktop\Cache

    This is a folder that the Electron runtime uses, and isn't managed by GitHub Desktop. On my Windows dev machine it is currently 17.9 MB in size.

    Also in Windows the location is limit to a specified size (30MB) in enterprises,
    This folder "Roaming" gets uploaded to the server when logging of and downloaded when logging on.
    On slow lines its can take up to hours.

    This is a great point, and not something I'd thought about before.

    It would be nice when this Bug could be fixed and the path is used in further versions:
    C:\Users\LipkeGu\AppData*local*\GitHub Desktop\Cache

    Sadly this folder isn't one that GitHub Desktop controls, and we'd need to chat with the Electron team about how they're using this to see if it can be optimized or removed. This also might have been improved in a later version of Electron (we're on v2, and evaluating v3, and they just released v4 before the Christmas break).

    I'm going to tweak the title to reflect that it's not about "awareness" of the roaming profile, but how it's being used.

  4. changed the title [-]App is not "roaming profile" aware on Windows[/-] [+]AppData folder has large cache which affects "roaming profile" users[/+] on Jan 2, 2019
  5. added
    investigation-needed
    electron
    on Jan 2, 2019
  6. shiftkey commented on May 15, 2019

    @shiftkey
    Member

    An upstream discussion about customizing this location has been opened electron/electron#18309

  7. removed
    investigation-needed
    on May 15, 2019
  8. ThomasMoutel commented on Dec 16, 2020

    @ThomasMoutel

    Hi @shiftkey, a pull request #19693 electron/electron#19693 has been opened more than one year ago to have this fixed, but no-one seems to care about it.
    Do you know how we can get it reviewed and integrated?

  9. shiftkey commented on Dec 16, 2020

    @shiftkey
    Member

    @ThomasMoutel I'm no longer working on GitHub Desktop

  10. steveward commented on Nov 12, 2021

    @steveward
    Contributor

    Requested in #13308:

    GitHub Desktop under Windows create and save lot of data under %APPDATA%\GitHub Desktop.
    This is part of server sync profiles in enterprise environment.
    Often this folder is size limited.
    In often situation a user has a expensive small SSD for OS and APPs and e cheap big HDD for data.
    So please save caches and temp data under %LOCALAPPDATA% or let the user select an folder for caches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    electronwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions