[GH-ISSUE #145] Retention policy feature #115

Open
opened 2026-02-25 23:40:45 +03:00 by kerem · 1 comment
Owner

Originally created by @dsvi on GitHub (Mar 18, 2023).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/145

Hi!

Is somebody interested to add retention policy, so that files which weren't requested for a given time, get deleted?
Or is it easy to do using simple script, checking aTime?

Originally created by @dsvi on GitHub (Mar 18, 2023). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/145 Hi! Is somebody interested to add retention policy, so that files which weren't requested for a given time, get deleted? Or is it easy to do using simple script, checking aTime?
Author
Owner

@geek-at commented on GitHub (Mar 18, 2023):

Very interesting thought. I thought about this before but always feared that it would delete files that are cached in a reverse proxy (like cloudflare) so the server doesn't know the file was requested recently.

But as an optional feature I'd think it'd be a good addition

<!-- gh-comment-id:1474929875 --> @geek-at commented on GitHub (Mar 18, 2023): Very interesting thought. I thought about this before but always feared that it would delete files that are cached in a reverse proxy (like cloudflare) so the server doesn't know the file was requested recently. But as an optional feature I'd think it'd be a good addition
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#115
No description provided.