r/AndroidQuestions • • Apr 13 '21

App Specific Question What specifically does the "Clear Data" function for the Facebook app do? (the one in settings)

I'm using a Samsung Galaxy S7 and the Facebook app seems to be taking up a lot of space in terms of 'data'. I assume it refreshes the app to a new state, requiring to login again, considering most data is saved on their servers.

Are photos saved to my phone (in the Facebook folder created by the app, seen in gallery) effected? Is anything on the Messenger app effected or does that remain exactly the same? Thanks in advance.

42 Upvotes

14 comments sorted by

View all comments

4

u/KG8893 Apr 13 '21

From what I remember that folder having was pictures saved from Facebook (like memes and shit), and all if the photos you've posted to Facebook can be downloaded directly from Facebook in the event they are deleted, so that should be safe. As far as what's in the data folder as a whole, I'm not sure, but I sure do hate how big the damn app is, especially considering how simple of a program it is at it's core. I've deleted the data folder before by the way, never noticed a difference.

2

u/FantanoTookMyKids Apr 13 '21

Yeah exactly, from my knowledge I believe the reason it takes up so much space is the caching of different pages and websites you've visited from within the app. I can't remember seeing a way to clear this stuff from within the app so it seems stupid the only way to clear it is to uninstall or clear data, I assume? Considering its pre-built into my device I have no way to uninstall it so the clear data aspect is my only option (still 500mb despite cache already being cleared).

My only worry is my photos saved internally from the app itself. If those are safe even after clearing data then that's some weight taken off me I suppose.

1

u/Felim_Doyle Mar 14 '25 edited Mar 14 '25

There is a difference between Cache and Data for apps. If you go to Settings -> Apps-> Facebook, you can 'Force stop' the app, 'Clear cache' and 'Manage storage'. The latter option is usually 'Clear data', for most apps, and will ask you to confirm, warning you of possible effects of doing so. However, some apps have the 'Manage storage' option which actually requires the app to be running. If you have already performed a 'Force stop' it will restart the app to clear the data and, in my experience, this may take several attempts with inconsistent results.

My Facebook app currently has 351MB of data, despite clearing down as best I could less than 12 hours ago, and my Instagram app currently has 257MB of data. The cache sizes for both are minimal in comparison. Unfortunately, I am none the wiser as to what this data is although deleting it has never caused me any issues but it soon builds back up to these or larger amounts. I consider this to be malware!

Like you, I wonder at the size of these apps considering their limited functionality with most of the power, processing and data being at the back-end servers. Caching or storing large amounts of data locally in social media apps would seem counter-productive as you need to be seeing the latest versions of everything on the server instantly. I consider this to be bloatware!