News for hackers. Stuff that matters.
Re:macOS keeps a huge wallpapers cache by niknetniko on Wednesday September 28, 2022 @03:55AM (#33005339)
> I recently discovered a big cache - in terms of file number, 6000 files - of basically every edit I did in the last 6 months in VS Code - called Local History.

Isn't this a feature? I wouldn't want my editor to remove my local history without me knowing. I frequently use this local history (in Intellij), for whatever reason (it's easier than git, the project doesn't have version control, I haven't committed yet, ...)

Re:macOS keeps a huge wallpapers cache by kevincox on Wednesday September 28, 2022 @07:43AM (#33006811)
6 months is a very long time for this though. I imagine that I would almost never want local history past a day or two. Beyond that I would look to my version control system.

Of course if the data is small why not keep it.

Re:macOS keeps a huge wallpapers cache by upbeat_general on Thursday September 29, 2022 @05:16PM (#33027324)
I do think there should be a default expiry but I’ve absolutely went back many many months and found old versions of files in cases I didn’t have proper commits.