docs.rs icon indicating copy to clipboard operation
docs.rs copied to clipboard

remove unused archive index files from disk

Open syphar opened this issue 2 years ago • 0 comments

Currently we store the archive index files locally after the build, and we never delete them.

We could track last-accessed for these, and remove index files that are not used for some time (a week?). Any request to a release that doesn't have a local index, will download it first.

We might be able to leverage some SQLite specifics, when the old cbor indexes are migrated.

syphar avatar Jun 02 '23 07:06 syphar