I’m self-hosting the docker containers and I noticed the pictrs directory is steadily growing because of the cached images. Does anyone know if it gets cleaned up automatically or are hosters running scripts to clean it up after a certain amount of time? The install guides make no mention of it from what I can find.

  • @[email protected]OP
    link
    fedilink
    English
    21 year ago

    When I look in the directories, it’s 100s of images that are definitely from posts. Maybe it only caches the images I clicked on?

    • poVoq
      link
      fedilink
      English
      31 year ago

      No, I was wrong and caching is happeing somehow, but not always. I think there might be a strict time-out or something like that for pict-rs trying to cache the images, which is why most images do not get cached in my experience.

      • @[email protected]OP
        link
        fedilink
        English
        21 year ago

        In any case, a weeks retention is fine by me. I have a couple hundred gigs available, so long as it’s getting cleaned up at some point it’s not a problem for me.