Does web browser uses previously saved cache in private browsing?

6

All the current versions of top five web browsers support private browsing mode, where they don't save anything as history or cache or cookies. But do they use cache saved from previous normal session?? suppose I open Facebook in normal mode and all the assets of webpage are cached, now, I open it up again in private mode, will my browser use the same cache it stored earlier ? also, does same apply for cookies?

Kushal

Posted 2011-02-12T05:04:41.873

Reputation: 865

Answers

3

No and no. That's the entire point of private browsing.

Wade was right and I was wrong. According to research, browsers tend to leak information, especially through add-ins.

The researchers found that the browsers' protections were imperfect. Browsers did not properly isolate their private sessions from non-private ones, with the result that suitably crafted sites could trace visitors between private and non-private sessions. Sites could also leave persistent indications that they had been visited, allowing visits to be detected by local users.

As Wade also pointed out, Firefox will reuse non-private in-memory cache for sites that are then visited in privacy mode.

user3463

Posted 2011-02-12T05:04:41.873

Reputation:

5

Randolph you are incorrect. I just tested firefox 10. It uses in-memory cache of pages and websites. It does not use the on-disk cache.

Good point about the addons :)

No Username

Posted 2011-02-12T05:04:41.873

Reputation: 151

1I have updated my answer. – None – 2012-07-28T04:17:03.450

3

Chrome incognito windows also use cached static assets from previous non-incognito browsing sessions, without restraint. (A quick look at the Network tab in Dev tools demonstrates this). In my quick check, it also appeared that clearing the cache had no effect on any open incognito windows--they still used the cached assets! In sum, Incognito isn't currently a useful tool for loading pages "from scratch".

Ben Roberts

Posted 2011-02-12T05:04:41.873

Reputation: 139

that's simply not true and the simple "Network" tab check actually proves that. I'm assuming you had several incognito tabs open when doing your tests – Robert Sinclair – 2019-07-01T16:31:39.520

added an answer with a demo – Robert Sinclair – 2019-07-01T16:38:43.023

0

The answer by Ben Roberts saying that Chrome incognito uses "cached static assets" is false.. And the check of the Network tab in dev tools proves the opposite of what he said. It proves the static assets like CSS file, JS etc. all get "reloaded from scratch" meaning existing cache is not used.

Look at the screenshot below comparing the normal window with a new incognito mode window. I looked at all the assets in incognito mode and none of them show as "memory cache" (I scrolled all the way to the bottom).

Other answers like saying they can track IP, add-ons leaking data etc. May be correct, but static assets like css/js/image files, cookies etc. all get reloaded.

I'm assuming when he was doing the test he had several incognito windows open which do share data between each other.

enter image description here

Robert Sinclair

Posted 2011-02-12T05:04:41.873

Reputation: 210