Stop wiping cache.

  1. alexphl
    Honeycomb Jan 5, 2019

    alexphl , Jan 5, 2019 :
    Seriously. Don't touch /cache, or dalvik-cache. Even after updates.

    I see this being suggested all the time and I facepalm. People still think it's 2012 and don't realize how cache works in Android nowadays.

    Deleting it will make your phone slower and your battery drain faster for up to a month. It won't fix anything.


    Since Android Nougat, apps are no longer pre-optimized when installed. Instead, they are profiled during use, and then optimized when your device is charging. This allows for better optimizations with less errors. Before the app is completely optimized, it runs with sub-optimal efficiency, meaning it will have lower performance and higher battery drain.

    Optimized code is stored in the dalvik cache folder. It can take a long time to completely optimize all your apps. By wiping that folder, you are resetting the whole process.

    Wiping cache won't fix any issues, because if an error is found in the optimized code, the system will automatically cancel it. It doesn't need your help in doing that, really.

    Here's a link to the official documentation

    Peace out.

  2. Zyndstoff
    Eclair Jan 5, 2019

  3. alexphl
    Honeycomb Jan 5, 2019

    alexphl , Jan 5, 2019 :
    Did you seriously just throw wikipedia links at me man? How rude.

    I never claimed Dalvik was still used, but ART caches are still stored in /data/dalvik-cache/. Google just didn't bother to change it for convenience.
    If you go into TWRP, it is still called dalvik cache under wipe menu, while in fact it wipes all compiler caches.

    athaarv and simsekhasan like this.
  4. anupritaisno1
    KitKat Jan 6, 2019

    Ven96 and athaarv like this.
  5. anupritaisno1
    KitKat Jan 6, 2019

    anupritaisno1 , Jan 6, 2019 :
    You just have an old TWRP version

    On newer TWRP versions it's validly named ART cache

    It's still wiping /data/dalvik-cache though

    alexphl likes this.
  6. Friezy
    Gingerbread Jan 6, 2019

    Friezy , Jan 6, 2019 :
    I'd like to also add, the last time I tried to 'wipe the cache' I accidentally deleted everything on my phone, if there's an issue with something the solution won't usually fix from a. cache wipe.

  7. Vishwadeep5
    Eclair Jan 6, 2019

    Vishwadeep5 , Jan 6, 2019 :
    do you mean clearing cache in app settings?
    It does do one thing, it gives me more storage space. I got about 5gb by clearing it

    SandeshChinchapur and mk92 like this.
  8. ghostofcain
    Marshmallow Jan 6, 2019

    ghostofcain , Jan 6, 2019 :
    On the positive side an, accidental, full wipe probably will though.

    Auristic, AltLin16 and theshinybeast like this.
  9. theshinybeast
    Marshmallow Jan 6, 2019

  10. BeingIncog
    Nougat Jan 6, 2019

  11. alexphl
    Honeycomb Jan 6, 2019

    alexphl , Jan 6, 2019 :
    nah that's different, you can do that if you absolutely need to.
    It will slowly build back up though, and is still very useful for apps to not redownload things constantly.

  12. theshinybeast
    Marshmallow Jan 6, 2019

    BeingIncog likes this.
  13. Friezy
    Gingerbread Jan 6, 2019

    Friezy , Jan 6, 2019 :
    it's not careless, on the recovery screen I pressed the power button and everything became Chinese. So I tried turning off the phone and everything got erased

    theshinybeast likes this.
  14. theshinybeast
    Marshmallow Jan 6, 2019

    theshinybeast , Jan 6, 2019 :
    Only pulling your leg mate.;)

    Friezy likes this.