Implement 1p Ephemeral Storage Functionality (functionality)
See original GitHub issueIt would be useful to be able to have Brave visit a site where 1p-storage was ephemeral, in the same way 3p storage is currently by default.
The functionality described here is not intended to cover the settings and options Brave would expose to users (that might or might not change), only to describe the needed underlying capabilities. How 1p ephemeral storage capabilities could be exposed to users, or deployed to benefit users, is covered in other issues (e.g., https://github.com/brave/brave-browser/issues/15097, https://github.com/brave/brave-browser/issues/15018, etc)
This would include the following necessary functionality:
- “1p ephemeral storage sessions” are at site granularity
- DOM storage and cookies in a “1p ephemeral storage session” would be cleared as soon as there have been no top level documents open for the site, for more than <keep alive> seconds
- Other
NetworkIsolationKey
partitioned storage (HTTP cache, service workers, network cache, etc) would be similarly partitioned
Nice to have:
- “1p ephemeral storage sessions” are isolated from the site’s normal storage area. This means that I should be able to have example.org open in a tab using a standard shields configuration, then open a new example.org tab in “1p ephemeral storage” mode, and that storage set in the “1p ephemeral storage” session would be independent of the standard example.org tab
- Similarly, you could have two different, independent “1p ephemeral storage sessions” at the same time, with the same site, both of which would be independent of standard 1p storage
- “1p ephemeral storage session” tabs taint each other, using sessionStorage logic. So if I open a example.org in a “1p ephemeral storage session”, and then i open another top level document in the same site from that document, both tabs see the same “1p ephemeral storage area”. (This might seem obvious, but I imagine it gets tricky when you could have 2 or more separate “1p ephemeral storage sessions” with the same site.)
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Understanding ephemeral storage - OpenShift Documentation
The ephemeral storage framework allows pods to specify their transient local storage needs. It also allows OpenShift Container Platform to schedule pods where ......
Read more >AWS Lambda Now Supports Up to 10 GB Ephemeral Storage
Today, we are announcing that AWS Lambda now allows you to configure ephemeral storage ( /tmp ) between 512 MB and 10,240 MB....
Read more >Ephemeral Volumes - Kubernetes
This document describes ephemeral volumes in Kubernetes. Familiarity with volumes is suggested, in particular PersistentVolumeClaim and ...
Read more >What is AWS Lambda Ephemeral Storage and How Does It ...
Learn about AWS Lambda's new feature - 10GB ephemeral storage and how it makes data processing tasks much much easier!
Read more >AWS Lambda New Feature - 10GB Ephemeral Storage
AWS Lambda Ephemeral Storage is a new feature that allows you to use up to 10gb of temporary disk space in your lambda...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OS/Android
as this isn’t yet implemented.Huh, you’re right. This option is not available on Android, but it’s just a UI limitation, under the hood it should work. I guess we have to add this setting then.