Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could someone help identify why Firefox saves and keeps such a ridiculous number of Cache folders in \\Application Data\...\Profiles\... They're all 0, 1, 2...and then 01, 0A, 0B. I mean, what's the point here?


Filesystem performance tends to degrade when you have tens of thousands of files in a single directory, so programs that manage thousands of files usually end up dividing them into many subdirectories. It's not just Firefox - git uses the same strategy, for example.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: