Search Unity

Feature request: clear cache

Discussion in 'Package Manager' started by Coed, Dec 14, 2018.

  1. Coed

    Coed

    Joined:
    Feb 18, 2016
    Posts:
    13
    Hello,
    I'm using small SSD on my laptop so every byte is precious for me. Package Manager stores cached files on AppData folder which must be on disc C, because Windows. Today I looked at this folder and found a lot of old packages, which weight like 2 GB.

    It would be great to have some way to delete this without manually searching through folders, like button in Package Manager Window or Unity Hub. Option to delete only old packages would be great too.
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    756
    Hi @Coed

    This is something we have on our roadmap. There are three options that we would like to provide:

    1) A user interface to flush the Package Manager cache.
    2) A configuration option (in the Hub) to change the default Package Manager cache location.
    3) A configurable TTL (time-to-live) for package cache that hasn't been touched for a while.

    Hopefully, we will manage to implement these features in the coming months.

    Regards,

    Pascal
     
    KwahuNashoba, cxode and alexzzzz like this.
  3. Coed

    Coed

    Joined:
    Feb 18, 2016
    Posts:
    13
    Oh great, nice to hear this!
    Thanks for reply :)