Best Practices for Disk Space Management in Community w/ lots of Images

I have several question about images storage/processing

  1. I have two folders
    /var/discourse/shared/standalone/uploads/default/original — 9GB in my case
    ../3X
    ../2X
    ../1X
    /var/discourse/shared/standalone/uploads/default/optimized — 4GB in my case
    ../3X
    ../2X
    ../1X

Is there way to keep only optimized images?

  1. Does folder
    /var/discourse/shared/standalone/postgres_data/base
    store the same images as folders above?

  2. Is there any Discourse settings for storing images in lower quality?

  3. Is there any client-side image optimization to make it lower size?