Hopefully not with a centralized proxy. Clients can just block the download of larger files.
Discussion
Something like squoosh for images or exgif for gifs?
I use Squoosh to optimize website speed for my clients all the time. Drops the file size like 97% even with lossless