Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark cache directories with a CACHEDIR.TAG file to avoid backing up unnecessary data #211635

Open
flyte opened this issue Apr 29, 2024 · 3 comments
Labels
feature-request Request for new features or functionality workbench-os-integration Native OS integration issues
Milestone

Comments

@flyte
Copy link

flyte commented Apr 29, 2024

Please could you add the file CACHEDIR.TAG to any directories that contain ephemeral cache files so that our backups don't contain lots of useless files?

More information at https://bford.info/cachedir/ and this duplicates #144028 which was unfortunately closed due lack of votes, but the issue is still relevant.

This would seem to be a very trivial feature to implement, whereas it causes a fair bit of work for anyone to work around, considering the various and numerous directories used by VS Code to cache files.

This is not solved by #3884 although a workaround would be made simpler if VS Code didn't put cache files in the user's /home/<username>/.config directory and instead put them in a dedicated cache location.

@flyte
Copy link
Author

flyte commented Apr 29, 2024

Tagging users who were interested in the previous issue:
@BachoSeven @Zweihander-Main @MadnessASAP @klemens @FliegendeWurst @sbucek @Thell @bohni

@bpasero bpasero added feature-request Request for new features or functionality workbench-os-integration Native OS integration issues labels Apr 29, 2024
@bpasero bpasero removed their assignment Apr 29, 2024
@vscodenpa vscodenpa added this to the Backlog Candidates milestone Apr 29, 2024
@vscodenpa
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vscodenpa
Copy link

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vscodenpa vscodenpa modified the milestones: Backlog Candidates, Backlog May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality workbench-os-integration Native OS integration issues
Projects
None yet
Development

No branches or pull requests

3 participants