Caching on Android is a two-way mechanism: on the one hand, it speeds up loading applications and saves traffic, on the other hand, it can take up gigabytes of memory, slow down the system and even lead to crashes. If your smartphone starts to slow down, and in the โ€œStorageโ€ section you see that the cache takes up 10+ GB, itโ€™s time to act. But simply clearing it is not enough - you need disable autocachingto prevent the problem from returning.

In this article we will look at not only standard methods of clearing the cache through settings, but also hidden methods. completely disabling caching for individual applications and the system as a whole. You will learn how to work with ADB, change configuration files and even block the cache at the kernel level - without root access and the risk of bricking the device. Important: some methods require technical training, but we will give clear instructions for users of any level.

Why the cache on Android needs to be disabled, and not just cleared

Most guides on the Internet teach only clear the cache through the settings menu. But this is a temporary solution: in a day or two, applications will again fill the memory with unnecessary data. Reasons why you should disable caching completely:

  • ๐Ÿ“‰ Constant lack of memory: even after clearing, the cache is quickly restored, eating up to 30% of the total storage.
  • ๐Ÿข System slowdown: fragmented cache slows down operation Android, especially on budget smartphones with eMMCstorage drives.
  • ๐Ÿ”„ Application crashes: damaged the cache can cause game crashes, errors loading media files and โ€œwhite screensโ€ in social networks.
  • ๐Ÿ“ก Extra traffic: some applications (for example, YouTube or TikTok) cache video in the background, consuming gigabytes of the mobile data.

Caching is only useful for frequently used applications (navigators, instant messengers). For everything else, it more often harms than helps. For example, the cache Google Play Services can take up to 500 MB, although it is cleared automatically once a month - but only if you do not disable this function manually.

โš ๏ธ Attention: Completely disabling caching for system applications (for example com.android.systemui) may lead to graphical artifacts or interface reboots. Before experiments, create a backup via adb backup or TWRP.
๐Ÿ“Š How often do you clear the cache on your Android device?
Once a week
Once a month
Only when memory runs out
Never cleared
I donโ€™t know what it is

Method 1: Disabling caching for individual applications through settings

The safest method is disable caching for specific apps. This will not delete data that has already accumulated, but will prevent further accumulation. The instructions are suitable for all versions Android from 8.0 Oreo to 15.

  1. Open Settings โ†’ Applications.
  2. Select an application (for example, Chrome or Instagram).
  3. Go to Storage โ†’ Cache.
  4. Click Clear cache, then go back.
  5. Tap on the three dots in the upper right corner and select Limit background activity (on some firmware - Limit data usage).
  6. Activate the option Limit caching or Do not save data in cache.

For Android 12+ a separate switch has been added Allow caching in the section Advanced โ†’ Data. If you disable it, the application will not be able to save temporary files, but may begin to slow down when working with media (for example, Spotify will take longer to load tracks).

Back up important data|Check free space (minimum 1 GB required)|Close background applications|Connect charging (for long operations)-->

Application Max cache size Is it possible? disable the cache without consequences
Google Chrome up to 1 GB Yes (page loading time will increase)
Instagram up to 500 MB Yes (photos will take longer to load)
YouTube up to 2 GB Partially (4K videos may lag)
Google Maps up to 3 GB No (maps will be loaded online)
Telegram up to 5 GB Yes (no media files will be saved)

Method 2: Globally disabling caching via ADB (without root)

If you need totally disable caching for all applications, use ADB (Android Debug Bridge). enabled USB debuggingincluding Samsung, Xiaomi and Pixel.

Prepare the PC first:

  1. Download Platform Tools from Google.
  2. Connect your phone to the computer and enable debugging (a request will appear on the smartphone screen).
  3. Open the command line (cmd) in the folder with adb.

Now run the commands one by one:

adb shell

pm disable-user --user 0 com.android.providers.media.module

settings put global development_force_enable_app_cache false

settings put global disable_app_cache true

The first command disables the media provider (responsible for the media cache), the second and third ones globally disable caching. After a reboot (adb reboot), the changes will take effect. To return everything back, use:

settings put global disable_app_cache false

pm enable com.android.providers.media.module

โš ๏ธ Attention: On some firmware (for example, MIUI or ColorOS), these commands may be reset after updating the system. Check their operation once every 1-2 months.
๐Ÿ’ก

If, after disabling the cache, applications begin to slow down, try manually adding exceptions for critical ones. apps (for example, a navigator) through the command pm grant APPLICATION_PACKAGE android.permission.WRITE_EXTERNAL_STORAGE

Method 3: Changing the build.prop configuration file (requires root)

For advanced users with root access there is a way to disable caching at the system level by editing the file build.prop. This will affect all applications, including system ones, so use the method only if you understand the risks.

Instructions:

  1. Install a file manager with root support (for example Root Explorer or Solid Explorer).
  2. Go to /system/build.prop and make a backup copy of the file.
  3. Add the following lines to the end of the file:
    dalvik.vm.dexopt-flags=m=y
    

    persist.sys.disable_cached_data=true

    ro.config.nocache=true

  4. Save changes, set permissions 644 (rw-r--r--).
  5. Reboot the device.

These parameters:

  • ๐Ÿ”ง dalvik.vm.dexopt-flags=m=y โ€” disables caching DEX-files (speeds up the first loading of applications, but increases RAM consumption).
  • ๐Ÿšซ persist.sys.disable_cached_data=true โ€”blocks saving temporary data.
  • ๐Ÿ—‘๏ธ ro.config.nocache=true โ€”disables caching at the kernel level.

After application, the system may run slower when applications are first launched, but the cache will stop accumulating.. To undo the changes, delete the added lines or restore the original build.prop.

What happens if you edit build.prop incorrectly?

Incorrect changes in this file can lead to a "bootloop" (cyclic reboot) or complete system inoperability. Always make a backup and check the syntax!

Method 4: Using Magisk modules for management. cache

If you have Magiskinstalled, you can use special modules for flexible caching management. For example, the module ยซDisable App Cacheยป allows:

  • ๐Ÿ“ฑ Disable the cache for individual applications based on a white/black list.
  • ๐Ÿ”„ Automatically clear cache on reboot.
  • ๐Ÿ›ก๏ธ Block background caching for selected packages.

Installation:

  1. Download the module from the repository Magisk (for example, here).
  2. Install via Magisk Manager (section Modules โ†’ Install from storage).
  3. Reboot the device.
  4. Configure the rules in the file /sdcard/DisableAppCache/config.json.

Example configuration for blocking cache Facebook and Twitter:

{

"blacklist": [

"com.facebook.katana",

"com.twitter.android"

],

"autoclean": true,

"cleanonboot": true

}

The module is compatible with Android 10โ€“15 and most custom firmwares (LineageOS, Pixel Experience). To check functionality, use the command:

su -c "logcat | grep -i cache"
โš ๏ธ Attention: Some modules conflict with SafetyNet. banking applications, disable the module or use MagiskHide.

Method 5: Disabling the cache for web browsing (Chrome, Firefox, Edge)

Browsers are the main cache eaters. It can take up to Google Chrome it can take up to 1 GB, even if you rarely use it. To disable caching:

For Chrome:

  1. Open your browser and enter in the address bar: chrome://flags.
  2. Find flags:
    • #disable-disk-cache โ€”disables the disk cache.
    • #enable-network-service-cache โ€”blocks the network cache.
  • Set them to a value Disabled.
  • Restart the browser.
  • For Firefox:

    1. Enter in address bar: about:config.
    2. Accept the warning.
    3. Find parameters:
      • browser.cache.disk.enable โ†’ false
      • browser.cache.memory.enable โ†’ false
      • browser.cache.offline.enable โ†’ false

    For Samsung Internet:

    • ๐Ÿ”ง Go to Settings โ†’ Personal data โ†’ Delete data view.
    • ๐Ÿ”„ Activate the option Auto clear on exit.
    • ๐Ÿšซ In the section Advanced disable Save data to speed up loading.

    After disabling the cache, pages will load 10โ€“30% slower, but you will save up to 500 MB memory per month. To speed up, use Lite mode in your browser settings.

    ๐Ÿ’ก

    Disabling the cache in browsers is especially useful if you use the mobile data - this will reduce traffic consumption by 15-20%.

    What to do if applications slow down after disabling the cache

    Complete shutdown caching can lead to increasing loading time applications and media files. If you encounter lags, try:

    • โšก Add exceptions: allow caching only for critical applications (navigator, messenger).
    • ๐Ÿ”„ Use โ€œsmartโ€ cleaning: set up automatic cache clearing once a week via Tasker or MacroDroid.
    • ๐Ÿ“ฑ Increase RAM limit: in the developer settings (Settings โ†’ About phone โ†’ Build number - tap 7 times) enable Do not save actions and set the background process limit to 2โ€“3.
    • ๐Ÿ—‘๏ธ Use a hybrid approach: disable the cache is only for โ€œgluttonousโ€ applications (social networks, games), leaving it for system services.

    If it slows down Android in general, check:

    • ๐Ÿ”‹ Battery condition: a worn-out battery can cause slowdowns under high load on the processor.
    • ๐Ÿ”ฅ Device temperature: overheating due to lack of cache (constant reloading of data) leads to throttling.
    • ๐Ÿ› ๏ธ Memory fragmentation: on devices with eMMC execute the command fstrim via ADB:
      adb shell fstrim -v /data

    As a last resort, return the caching settings to standard and use automatic tasks for regular cleaning (for example, via SD Maid or Files by Google).

    FAQ: Frequently asked questions about disabling the cache on Android

    Is it possible to disable the cache without root access?

    Yes, but with limitations Through ADB (method 2) you will disable caching globally, but some system applications may ignore these settings. For complete control you need root or Magisk.

    Why does it appear again after a day after clearing the cache?

    Android automatically restores the cache for frequently used applications. To avoid this, you need not only. clear, but also disable autocaching (see Method 1 or 2). Also check the synchronization settings in Google Account - sometimes the cache is restored from the cloud.

    Is it safe to edit build.prop?

    Yes, if you know what you are doing. Always make a backup of the original file! Syntax errors or incompatible parameters can lead to bootloopTo restore, use TWRP or fastboot.

    How to disable cache for games (Genshin Impact, PUBG, Call of Duty)?

    For games, the cache is critical - without it there will be lags when loading textures. Instead of disabling:

    1. Limit the cache size in the game settings (usually there is an option Clear cache or Storage management).
    2. Use Magisk module to transfer the cache to an SD card.
    3. Set up automatic cleaning after Tasker after exiting the game.
    Why do some sites not open after disabling the cache?

    Some sites (for example, banking or government) require caching to work with TLS 1.3 or Service Workers. In this case:

    • Add the site to browser exceptions.
    • Use Firefox Focus โ€”it does not cache data.
    • Temporarily enable the cache in your browser settings.