Archiving unused attachments

To find and clean up the attachments that were not used during page rendering or were downloaded in the last N days.

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Joël Bourquard

    I had an idea for handling obsolete attachments, and I implemented it as follows in our plug-in:

    • Added a "Mark as obsolete" link next to each attachment (in the attachments screens)

    • When clicking the link, the plug-in uploads a placeholder document of the same MIME type, as a new version of the attachment. The placeholder document says something like "This document is obsolete".

    As a result, the document contents won't appear in search results anymore - except if someone searches for the document's title, of course.

    The "Mark as obsolete" is very easy to revert: users just have to delete the newest revision.

    And of course, in case the whole page (and its attachments) becomes obsolete, one can just move it to an archived space, either with Midori's plug-in or manually.

    So what do you guys think? I suggested this to the Midori team and they find it quite innovative, but they feel it doesn't fully match the philosophy of their plug-in.

    Edited by Joël Bourquard
Please sign in to leave a comment.