Prawn PDF Compression, compress content streams, what does it do
问题 The prawn gem has an initialize option :compress , which is described here. Apparently it "Compresses content streams before rendering them" . With and without compress: true I generated the same 14 page pdf twice. Each page has 2 photos and all sorts of text. The resulting file size was the exact same. So my question is: in production with larger quantities of photos will I see a difference in file sizes? Or maybe compress: true eats more or less RAM during processing? What is its purpose?