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.

Learn More

What with these HUGE cookie file sizes?

  • 2 replies
  • 0 have this problem
  • 30 views
  • Last reply by MozzieBob

more options

I took a look today and I had 237 MB in cookies! This was after clearing the cache of all files. I've only had this (new) machine a couple months.

Short version: Sites have "cookies" from 200kb to as much as 34MB! For many of the sites over 3MB I have no account and have visited them only briefly.

To be clear, I don't care about the space being used. It's trivial. But what the heck is FFox storing and calling it "cookies"? Last I checked, a site was still limited to 4K size cookies and perhaps 50 per domain. So how are we getting to MB+ sized "cookies" per site? Again, the cache was cleared, so what's left aside from trivial cookie files of <4KB?

Desktop; Windows 11; Firefox 139.0.4 64 bit

I took a look today and I had 237 MB in cookies! This was after clearing the cache of all files. I've only had this (new) machine a couple months. Short version: Sites have "cookies" from 200kb to as much as 34MB! For many of the sites over 3MB I have no account and have visited them only briefly. To be clear, I don't care about the space being used. It's trivial. But what the heck is FFox storing and calling it "cookies"? Last I checked, a site was still limited to 4K size cookies and perhaps 50 per domain. So how are we getting to MB+ sized "cookies" per site? Again, the cache was cleared, so what's left aside from trivial cookie files of <4KB? Desktop; Windows 11; Firefox 139.0.4 64 bit

Chosen solution

Ah, I see. After some research, I learned about the concept of "DOM Storage".

You'd think that something that significant would have received much more publicity and pushback from the public... if anyone knew about it. Cookies themselves were (and still are) considered an imposition by many. This is beyond that by astronomical amounts.

Read this answer in context 👍 0

All Replies (2)

more options

The size you're citing isn't just cookies; it's the sum of all local data stored for a website. According to the MDN Web Docs, the default (best effort) limit of storage for a site is either 10% of the total disk size or 10 GiB, whichever is less.

As for why websites store that much data on your computer, that's a valid question. However, it's a philosophical question beyond the scope of Firefox support.

Helpful?

more options

Chosen Solution

Ah, I see. After some research, I learned about the concept of "DOM Storage".

You'd think that something that significant would have received much more publicity and pushback from the public... if anyone knew about it. Cookies themselves were (and still are) considered an imposition by many. This is beyond that by astronomical amounts.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.