Cache directory tags

2024-01-30

There is no consensus on where to put cache directories, even though the correct answer is the XDG base directory specification (i.e., ‘$HOME/.cache/$PROGRAM’). Given that, there is a convention to add a special tag file (called ‘CACHEDIR.TAG’) to signal that a directory (and all of its recursive contents) are a cache that can be thrown away and rebuilt if needed.

=> XDG base directory specification | Cache directory tagging specification

=> Filesystem organization

Proxy Information
Original URL
gemini://dcreager.net/filesystem/cache-directory-tags.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
405.619585 milliseconds
Gemini-to-HTML Time
0.282104 milliseconds

This content has been proxied by September (3851b).