I basically have an HTTP server that serves out hundreds of requests per second, and I want to attempt to gzip the images it serves (they are cached in memory). The only solution I can find for this involves specifying a buffer which the module will then gzip automatically. This doesn't work for my setup.
Is there a way to have a variable, say $image_one, and gzip (inflate) its contents?