Forums

[resolved] [Plugin: Hot Linked Image Cacher] [Plugin: Hot Linked Image Cache] Question about how it works... ps (2 posts)

  1. kesseret
    Member
    Posted 1 year ago #

    First off, I absolutely love this plugin. I appreciate the time it took to write it.

    About once a week I clear out old posts and their relevant wp_postmeta. I am willing to set up another job to clear out unused/old cache images but unsure if I need to do this and/or how to do this (if it is even necessary).

    Any suggestions- greatly appreciated :)

    http://wordpress.org/extend/plugins/hot-linked-image-cacher/

  2. kesseret
    Member
    Posted 1 year ago #

    I found the answer myself so writing it here in case anyone else cares:

    I changed my automatic sql database cleanup to once every 2 weeks clearing out posts older than 6 days. After that job is done I run another job to remove HLIC images.
    find /your/path/to/yourwebservers/public_html/wp-content/uploads/HLIC -mtime +6 -exec rm {} \;
    This removes all files older than 6 days.

    I hope this helps someone as it helped me and makes this plugin the BEST.

Topic Closed

This topic has been closed to new replies.

About this Topic