Does web browser uses previously saved cache in private browsing?

9,650

Solution 1

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 :)

Solution 2

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".

Solution 3

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

Share:
9,650

Related videos on Youtube

Kushal
Author by

Kushal

I design, code and blog.

Updated on September 17, 2022

Comments

  • Kushal
    Kushal over 1 year

    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?

  • chiffre01
    chiffre01 almost 12 years
    I have updated my answer.
  • Robert Sinclair
    Robert Sinclair almost 5 years
    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
    Robert Sinclair almost 5 years
    added an answer with a demo