Telegram messenger actively uses cache to speed up the loading of media files, stickers and chats. On Xiaomi smartphones (Redmi, POCO, Mi series), this cache can take up gigabytes of memory, slowing down the application and system. The feature of MIUI firmware is aggressive management of background processes, which sometimes leads to conflicts with the Telegram cache.
In this article you will find 5 working methods of cleaning the cache โ from standard settings of the messenger to hidden functions MIUI. We will discuss how to delete unnecessary files without losing data, why the cache is quickly restored, and what to do if Telegram after cleaning is unstable. 12/13 and MIUI 14, where the caching algorithms have changed.
Why Telegram cache is growing on Xiaomi
On Xiaomi devices, Telegram cache is growing faster than on pure Android.
- ๐ Aggressive optimization MIUI: The system forcibly closes the background processes, forcing Telegram to re-upload data to the cache.
- ๐ฅ Autoload Media: Telegram downloads high quality photos/video by default, even if you donโt open them.
- ๐ค Features of the file system: on Xiaomi, the cache is stored in the /data/data/org.telegram.messenger/cache, which MIUI It does not clean up in standard optimization.
- ๐ Frequent updates: Telegram updates weekly, and older versions of cache are not always deleted automatically.
For example, on the Redmi Note 11 Pro+ with 128 GB of memory, users note that Telegram cache can take up to 5-7 GB in 2-3 months of active use, while MIUI does not show these files in the Storage section as โapp cacheโ, which complicates the search.
Method 1: Clearing the cache through Telegram settings
The most secure method that doesnโt delete your chats or media files is suitable for all Xiaomi models on Android 9-14:
- Open Telegram and go to the โ๏ธ Settings โ Data and memory.
- Slip on "Memory Use" (or "Storage" in newer versions).
- Select "Clear Telegram cache" and the system will show how much space the temporary files take up.
- Confirm the cleanup. It takes 10 seconds to 2 minutes depending on the volume.
โ ๏ธ Note: This method does not delete files you downloaded manually (photos, videos, documents). โ Data and memory โ Warehouse โ Remove downloads.
Backup important chats (Settings โ Chat โ Export History)
Close all active downloads in Telegram
Connect your phone to charge (for models with a battery < 20%)
Check the available space on the device (requires a minimum of 500 MB)
-->
Method 2: Manual cleaning with MIUI Storage
If Telegram doesnโt show the cache clearing option (relevant to MIUI 13/14), use the built-in memory manager:
- Go to Settings โ Applications โ Application Management.
- Find Telegram in the list and tap on it.
- Select "Storage" (or "Memory").
- Click Clear Cache (not to be confused with Delete Data โ it will erase all chats!).
- For deep cleaning, tap "Space Management" and manually delete unnecessary files.
On some models (POCO F4 GT, Xiaomi 12T) the path may be different: Settings โ About phone โ Memory โ Apps โ Telegram โ Clear cache.
๐ก
After cleaning the cache, restart the phone - this will help MIUI correctly recalculate the free space and avoid "phantom" busy gigabytes.
Method 3: Cache removal via Recovery (for experienced)
This method is suitable if Telegram takes more than 10 GB and is not cleaned by standard methods. On Xiaomi with an unlocked bootloader, you can delete the cache via TWRP, but it is risky - wrong actions will lead to data loss.
Instructions for Xiaomi with TWRP Recovery:
1. Turn off your phone and press Power + Volume Up to log in to Recovery.
2. Go to Advanced โ File Manager.
3. Find the folder /data/data/org.telegram.messenger/cache.
4. Select all files and select "Delete".
5. Reset the device.โ ๏ธ Note: Do not delete databases or shared_prefs โ This will result in loss of account and chats. โ System system โ Backup.
What happens if you delete the entire Telegram folder?
Method 4: Automatic cleaning with MIUI Optimizer
MIUI has a hidden deep optimization feature that can clear the cache of system and user applications, activated through the developer mode:
- Turn on Developer Mode: Settings โ About Phone โ MIUI version (shap 7 times).
- Back to Settings โ Additionally. โ For developers.
- Find the option "Optimization" MIUI" and turn it on.
- Slip on Deep Cleanup and select Telegram in the list.
This method does not work on all devices. On the Redmi K50 Pro and Xiaomi 13 Ultra, the function can be disabled by default.
- ๐ก๏ธ Open Security. โ "Optimization".
- ๐ Select "Deep Cleaning".
- ๐๏ธ Scroll to the "App Cache" section and mark Telegram.
- ๐งน Click "Clean" (A confirmation from a print may be required).
Method 5: Cleaning through ADB (without root)
For users familiar with ADB, there is a way to clear the cache without superuser rights. Suitable for all Xiaomi on Android 10+:
- Install Platform Tools on your PC.
- Connect your phone via USB and enable debugging via USB (Settings โ Developers โ Debugging via USB).
- Open the command line (Windows) or the terminal (Mac/Linux) and type:
adb shell pm clear org.telegram.messenger.cache
adb shell pm trim-caches 1000000000The first command clears the Telegram cache, the second one compulsorily frees up memory (1 GB in the example), and replace 1000 billion with the desired value in bytes to clean up completely.
โ ๏ธ Note: Do not use the command adb shell pm clear org.telegram.messenger โ it will reset all application data, including chats!
How to prevent fast filling of cache
To cache Telegram does not grow to gigabytes in a week, set up the messenger and MIUI:
| Parameter | Recommended value | Where to change |
|---|---|---|
| Autoboot media | Only on Wi-Fi. | Telegram settings โ Data and memory โ Autoboot media |
| Photo quality | Medium (or "Never Save") | Telegram settings โ Data and memory โ Photo quality |
| Clearing the cache on exit | Included. | MIUI settings โ Applications โ Telegram โ Battery โ Cleaning up when leaving |
| Background activity | Limit | MIUI settings โ Applications โ Telegram โ Battery โ Background activity |
On POCO F5 and Redmi Note 12, additionally disable โAuto-optimizationโ for Telegram in the battery settings โ this will prevent the forced closure of the messenger and re-loading the cache.
๐ก
Regular cleaning of the Telegram cache (every 2-3 weeks) and disabling autoload media in the mobile network reduce its size by 60-70% without loss of functionality.
What to do if Telegram lags after cleaning the cache
Sometimes, after cleaning, the messenger starts to slow down or does not load the media.
- ๐ข Slow chat load: Telegram pumps data again. 5-10 minutes or connect to Wi-Fi.
- ๐ Cyclical Reboot: Remove Telegram Update in Settings โ Annexes โ Telegram โ โฎ โ Remove updates.
- ๐ต No notifications: Check permissions in Settings MIUI โ Annexes โ Telegram โ Notifications.
- ๐ Fast battery discharge: MIUI It can not optimize Telegram correctly after cleaning. Add it to "Secure applications" (Settings) โ Battery โ Secure applications).
If the problem is not solved, try reinstalling Telegram: Settings โ Apps โ Telegram โ Delete โ Install again from Google Play.
Xiaomi 13 Lite and Redmi K60 After reinstalling, you may need to reset your network settings (Settings) โ SIM-maps and mobile networks โ Reset network settings if the messenger is not connected to the servers.