Browser Caching is an important thing. Every time you visit a website, files are downloaded, so when you revisit it, the site loads fast using the locally available files. Then some cookies are used to track users anywhere they go. They help with a personalized advertisement, but if someone doesn’t want to get tracked, they can block the cookies. So websites found more ways to track using the shared cache.
What is shared cache, and how websites can use it to track?
What is a shared cache? It’s a commonplace where all files were downloaded, was shared. The cache has all kinds of files, and some of them are unique to websites. So websites or advertisement system can easily figure out if you have visited the website before or any other website. Here is a list of drawbacks:
If I need to find out if you visited a website, I will download the resources and then check for those names in your cache folder. Once I find the file, I create a tracker, and every time you visit a website, I can serve personalized ads. It also means I can create a cookie for cross-site tracking.
That’s where the Network partitioning anti-tracking feature in Chrome, Edge, Firefox browsers comes into the picture.
Network partitioning anti-tracking feature in browsers
In simple words—Each website gets its own storage area or section where its files are stored. There is no more sharing. This makes sure the other websites cant probe other files for information.
Here, Cached resources can be an image of a script or any file given a Network Isolation Key. This key is composed of the top-level website, current-frame site, and URL of the resource. That makes it unique. Once enabled, it makes sure the file cannot be matched unless the key has all the elements to reveal the resource file.
Google has explained this with classic examples, and I would suggest you read about it.
Does the Network partitioning feature work the same on all browsers?
While it has been marked as standard, every browser has its way.
- Chrome: Uses top-level scheme://eTLD+1 and frame scheme://eTLD+1
- Safari: Uses top-level eTLD+1
- Firefox: It uses top-level scheme://eTLD+1 and considering including a second key like Chrome
That said, Apple rolled out this feature first in 2013 where it started partitioning the HTTP cache. Google also has this feature in Chrome 86, and now with Firefox 85, Mozilla fans will get it from version 85.
The feature will be enabled by default in the browser, and you will not have to do anything about it.
I hope the post was helpful to give you insight about the Network partitioning feature, but make sure to read the linked post for technical details.
- Tags: Browsers