Re:Firefox 111.0 enabled Origin private file system access
by secondcoming on Wednesday March 15, 2023 @06:23AM
(#35166081)
Firefox swamping the disk is already an issue. Mine has several gigabytes of random crap cached, and I'm not the only one.
Re:Firefox 111.0 enabled Origin private file system access
by KyeRussell on Wednesday March 15, 2023 @06:50AM
(#35166259)
“Several gigabytes” for a browser cache is not abnormal, nor “swamping the disk”. Welcome to the web.
Re:Firefox 111.0 enabled Origin private file system access
by makapuf on Wednesday March 15, 2023 @07:47AM
(#35166755)
Nowadays "several gigabytes" can also be read as "almost a percent" for a 1TB disk, which for an app so central is not outrageous to me. Well maybe it could be less for smaller 256G disks.
Re:Firefox 111.0 enabled Origin private file system access
by michaelt on Wednesday March 15, 2023 @01:08PM
(#35171403)
Right now, today, Apple will sell you a brand new phone with only 64GB of storage. And that's for users whose budget stretches to a brand new iphone - plenty of people spend less.
The modern web isn't just for people browsing from high-spec workstations and gaming PCs.
Re:Firefox 111.0 enabled Origin private file system access
by daneel_w on Wednesday March 15, 2023 @10:14AM
(#35168625)
I run desktop (not mobile) Firefox with an in-memory cache only. My opinion is that on-disk cache with several days (or weeks) old content is almost entirely useless, and that the most beneficial cache use is what you feath/reuse through a single day of running browser.
Here's how you can "make the switch":
First of all, clear your disk cache entirely. Then, head into "about:config" and change accordingly:
browser.cache.disk.enable -> false
browser.cache.disk.smart_size.enabled -> false
browser.cache.disk_cache_ssl -> false
browser.cache.offline.enable -> false
browser.cache.memory.enable -> true
browser.cache.memory.capacity -> 512000
browser.privatebrowsing.forceMediaMemoryCache -> true
The number 512000 is in kilobytes. Adjust to preference. Firefox will still do some caching to disk, but these settings stop the most pressing disk writes. You may confirm the change by visiting "about:cache".
Re:Firefox 111.0 enabled Origin private file system access
by iddan on Wednesday March 15, 2023 @05:59AM
(#35165912)
The OPFS is subject to browser quota restrictions.
Re:Firefox 111.0 enabled Origin private file system access
by ur-whale on Wednesday March 15, 2023 @06:12AM
(#35166004)
Which means nothing unless the defaults are restrictive.
What are the default browser quota restrictions on install?
Re:Firefox 111.0 enabled Origin private file system access
by madeofpalk on Wednesday March 15, 2023 @06:48AM
(#35166246)
OPFS doesn't really change this concern that much. IndexedDB already allows for relatively arbitary blobs of data to be stored per site (subject to existing quotas)
Re:Firefox 111.0 enabled Origin private file system access
by account42 on Wednesday March 15, 2023 @07:01AM
(#35166349)
IndexedDB should also be disabled by default. Adding more and more storage options instead of restricting the existing ones that are already being abused is madness.
Re:Firefox 111.0 enabled Origin private file system access
by sgbeal on Wednesday March 15, 2023 @07:09AM
(#35166416)
> The OPFS is subject to browser quota restrictions.
FWIW, 256mb last i checked (summer 2022). Perhaps less on mobile browsers, but that's just speculation.
Re:Firefox 111.0 enabled Origin private file system access
by lol768 on Wednesday March 15, 2023 @07:25AM
(#35166558)
So any sufficiently motivated/funded malicious actor who can register a whole bundle of domains can use up 50% of the entire free space on my disk? Am I getting this right?
Is the only defense against this the requirement for per-origin permission to be granted?
Sorry do I have to launch the browser with a specific flag?
Worried a site can just swamp a local filesystem.