Breaking the browser cache up into separate pools prevents sophisticated timing probes that let one site know whether you're logged into another.
Enlarge / Breaking the browser cache up into separate swimming pools prevents refined timing probes that allow one website know whether or not you are logged into one other.

Firefox model 85 will likely be launched in January 2021, and one among its options is elevated person privateness by way of enhancements in client-side storage (cache) partitioning. This has been broadly and incorrectly reported elsewhere as community partitioning, probably resulting from confusion across the privateness.partition.network_state flag in Firefox, which permits superior customers to allow or disable cache partitioning as desired.

What’s cache partitioning—and why may I would like it?

In a nutshell, cache partitioning is the method of retaining separate cache swimming pools for separate web sites, based mostly on the location requesting the assets loaded, relatively than merely on the location offering the assets.

With a standard, globally scoped browser cache, you may see conduct like this:

  1. person browses to
  2. many alternative assets are loaded and cached, together with
  3. person browses to
  4. in a hidden div, shadywebsite hundreds
  5. shadywebsite makes use of JavaScript components to time how lengthy the person’s browser must render emblem.jpg
  6. Since was in cache, it renders in beneath 5 milliseconds
  7. shadywebsite now is aware of that the person has not too long ago visited—as a result of if emblem.jpg hadn’t been cached, it might have taken longer to render in-browser.

When utilizing a partitioned cache, the copy of that was downloaded and cached when the person visited coolwebsite is not out there when the person visits shadywebsite. Since there isn’t any copy of the file in shadywebsite’s site-specific cache pool, emblem.jpg have to be loaded instantly—whether or not it is in coolwebsite’s cache pool or not.

It is a very simplistic model of cache timing assaults that happen often—extra refined assaults could concentrate on components that strongly indicate a person is at the moment logged into an unrelated website, relatively than merely having visited it not too long ago.

In some circumstances, the attacking web site could even have the ability to forcibly evict cache data, which may permit it to see how lengthy these data take to reappear, offering much more information concerning the person’s actions.

For a extra detailed dialogue of client-side storage partitioning, see the W3C Privateness Neighborhood Group’s work merchandise on the subject, at

What’s the draw back to cache partitioning?

There are some Net assets that are legitimately used near-universally throughout hundreds or hundreds of thousands of web sites—for instance, embedded fonts being delivered from With a globally scoped cache, may embed a duplicate of the Roboto font from, and when via embed the identical font, it may be delivered from the browser cache.

Beneath a partitioned cache,‘s copy of Roboto is accessible solely to itself—when the person goes to, which additionally embeds Roboto from the identical supply, it have to be downloaded (and cached) individually.

Which assets will likely be partitioned in Firefox 85?

As reported by ZDNet, the next assets will now be partitioned when privateness.partition.network_state is enabled:

  • HTTP cache
  • Picture cache
  • Favicon cache
  • Connection pooling
  • StyleSheet cache
  • DNS
  • HTTP authentication
  • Alt-Svc
  • Speculative connections
  • Font cache
  • HTTP Strict Transport Safety (HSTS)
  • On-line Certificates Standing Protocol (OCSP)
  • Intermediate CA cache
  • TLS consumer certificates
  • TLS session identifiers
  • Prefetch
  • Preconnect
  • CORS-preflight cache

Though this would be the broadest userdata cache partitioning scheme in manufacturing as soon as launched, Mozilla is enjoying catch-up in deploying one in any respect. Apple started partitioning Safari’s browser cache in 2013 and has continued to partition it additional since, and Google partitioned Chrome’s HTTP cache starting with Chrome 86, launched in early October.

This may depart Microsoft’s Web Explorer and Edge because the final mainstream browsers with globally scoped HTTP cache. Edge will presumably get cache partitioning successfully by default, because it rebases on new variations of Chromium sooner or later.


Please enter your comment!
Please enter your name here