Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి

Is there a way to make session cookies store in RAM only, and not to disk?

  • 1 ప్రత్యుత్తరం
  • 1 ఈ సమస్య కలిగినది
  • 7 వీక్షణలు
  • చివరి సమాధానమిచ్చినది cor-el

more options

I want to limit the number of writes that firefox does to the disk (for a few reasons I shouldn't list here) in addition to enhancing privacy overall. One way I hope to do this is to prevent session cookies from being written to the disk at all, and instead just be stored in RAM.

Can this be done?

I know it can be done with cache, but I'd like it to be done with session cookies as well, in addition to other cookies that I have configured to store as session only (e.g. third party cookies that I override to be session only.)

I want to do this while allowing all other cookies to be written to disk.

I want to limit the number of writes that firefox does to the disk (for a few reasons I shouldn't list here) in addition to enhancing privacy overall. One way I hope to do this is to prevent session cookies from being written to the disk at all, and instead just be stored in RAM. Can this be done? I know it can be done with cache, but I'd like it to be done with session cookies as well, in addition to other cookies that I have configured to store as session only (e.g. third party cookies that I override to be session only.) I want to do this while allowing all other cookies to be written to disk.

ప్రత్యుత్తరాలన్నీ (1)

more options

Session cookies are kept in memory AFAIK and never written to disk.

What makes you think that Firefox is saving them to disk?

You can look at the portable Firefox version if you want to minimize writes to the disk that stores your Firefox profile.