Clearing Safari website data does not delete everything - iPhone

One would expect "clear history & website data" from safari would do just that, but that's not always the case.


Often, in my case, there are persistent data that survive the "clear." Usually from Twitter or Facebook, but sometimes from random sites I've visited. I have the Twitter App installed, but not Facebook or other sites that keep showing up.


This doesn't clear them:

Settings>Safari>Clear History and Website Data


Neither does this:

Settings>Safari>Advanced>Website Data>Remove All Website Data


This does work:

Individually swiping left on the persisting data and selecting "delete"


This, IMO, is an unusual behavior since the first method SHOULD do this job.

Most people won't go to ...advanced>website data> to double check if the clearing worked.


I suspect these are similar to "databases" that remain in Desktop Safari and have to be manually removed from

user/library/safari/databases (I had to remove a homedepot.com data that would keep reappearing.)


So the Question: Is this a normal behavior? Does this happen to others?

iPhone 6 Plus, iOS 10.2.1

Posted on Mar 25, 2017 12:18 AM

Reply
194 replies

Apr 21, 2017 5:34 PM in response to Dr NC

Well this just happened to me and as you noticed, even that does not work anymore.


I know for a fact that swiping and deleting used to work up to a few months ago. One of the updates must have changed that.


This is very annoying indeed. Apple sometimes drops the ball on simple things like this.


Now this is either a bug, or (since the exact same issue exists on MacOS) Apple has decided these need to stay.


Back when JB was easier & we could see the files on iphone, the amount persistent junk from apps was astonishing. I have no reason to think its changed.


Please let us know if you figure this out.

Sep 15, 2017 11:51 AM in response to Lawrence Finch

Zero byte cookies are just place holders...this helps them know that you have already been to a site. It is also used by AdChoice and other roaming ad companies, etc. This is the part that maybe was agree to just stick around. I know that a website can track you with a zero byte file by the file name alone....


This is all kinda of like big brother to me, I was told, that one of the browsers was working in a time limit life of a cookie or database before it would totally deleted. Enough time to do what you need on the site, then zap the cookie.

Sep 15, 2017 4:28 PM in response to Lady Engineer

<<[Lady Engineer]Zero byte cookies are just place holders. This helps them [cookie creators] know that you have already been to a site. It is also used by AdChoice and other roaming ad companies, etc.>>


Lady Engineer, thanks for for providing the link to Ben Lovejoy's techie article detailing what those 0 byte and larger cookies can reveal re our browsing activities — https://9to5mac.com/2017/09/15/what-are-cookies-how-do-cookies-work/


It helps supersede the effort by some to downplay how little privacy protection we have due to the cookie retention policies of Safari and some other browsers.


In the end, it is the unknowing bargain we have to make to use free software.

Dec 13, 2017 4:49 PM in response to pajakda

I don't believe this has anything to do with the type of iPhone - in our house we have two iPhone 6s's, 1 iPhone 6 and 2 iPads. It only happens on one 6s. I suspect that it has something to do with past applications that were installed, that's the main difference between the device. Indeed, two of the 6s's are on the same Apple ID and only one of them has the problem. In my case I have exactly 10 well known website cookies (e.g. Google, Washington Post, and New York Times) that won't go away when I clear. Even if I actually open a web page and sign in, the cookie becomes a non-zero cookie. But if I delete it, it remains as a zero cookie. I wonder if content blockers (e.g. Umbra?) could trigger this - I had installed one such app but removed it quite a while ago...

Apr 14, 2017 5:10 PM in response to ParhamS

You're not going to like this reply.


Yes, many people are having the exact same problem. After approximately 3-4 hours of trying every solution I could find in these forums and not having any success, I took my MacBook Pro to an Apple Genius Bar. For nearly 1.5 hours, they tried nearly every solution they could think of and running diagnostics on hardware and software, then restarting the computer, etc - all without success. Finally, one of the top guns believed regardless of the diagnostic results, there may be a software glitch some where and suggests wiping the entire computer clean and reinstalling and starting all over.


I took the computer home and reinstalled my backup data. Guess what? That did not solve the problem. Removed website data reappears within seconds.


Not very encouraging. The techs at the Genius Bar also agreed that as the web site data list continues to grow, it could eventually slow the speed of the computer.

Jul 19, 2017 10:03 PM in response to Tdark1

I found iOS 10.3.3 did NOT delete all the cookies on my iPhone 7.


At the time of the upgrade there were pages of cookies — most showing 0 bytes. After the upgrade, but before opening Safari or any apps, I clicked Settings>Safari>Clear History and Website Data. When I then went to Settings>Safari>Advanced>Website Data, I found the cookies on the left panel still remained.


I then clicked on Settings>Safari>Advanced>Website Data>Clear All Website Data. When I reopened Website Data the same cookies in the left panel still remained.


I then deleted each cookie manually and closed Website Data. However, when I reopened it, the cookies in the right panel had reappeared. Again I deleted them manually, but when I reopened Website Data, the cookies in the right panel had still reappeared.


Something permits intrusion on the Safari cookie folder. I have never banked with Citibank or any affiliate of which I know. I do have apps for the other cookies. Perhaps some have something to do with Apple Pay


User uploaded file

Sep 15, 2017 9:56 AM in response to Lady Engineer

There is still a problem with this. My son was searching the web (I was with him) and was looking for information on Ricky Nelson, for a report he's doing. Later I showed him how to clear his browsing history, when I noticed two cookies whose names suggests that he visited some illicit sites, which he didn't. The fact that it has zero bytes is not my concern - it's the name of these two cookies. Sometimes teachers randomly check student's phones (when they use them in class - that's another story) and I'm trying to avoid problems. No matter what Apple is doing, the end user should maintain the right to delete whatever he/she wants.

Sep 24, 2017 3:38 PM in response to ParhamS

ParhamS wrote:


Are you bored? This is pretty much trolling.

No, I find this thread very interesting. I'm not sure to which post of mine you're referring. However, if it's the one providing a practical suggestion on how a young man can avoid getting in trouble at school until such time this issue is resolved, I don't see how that could be construed as "trolling". What practical suggestions do you have to offer?

Sep 24, 2017 8:49 PM in response to Lawrence Finch

Lawrence, I hear what you’re saying and I have read the articles. However my iPhone 7 Safari cookie listing shows third party cookies are still being added for sites I have not visited, even though I completely deleted everything a couple days ago after installing iOS 11

. The pic below shows one of many pages of cookies on my iPhone . Those marked in red are sites I did NOT visit.


How do we explain that?


User uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Clearing Safari website data does not delete everything - iPhone

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.