Hey everyone. I am currently working on reducing the amount of data sent from my connect based HTTP server to my client. So far I am very proud that 9/10 of my site is cache-able, plus some PHP pages (used trough a fast-cgi connection) being able to re-cache themselves if possible. This means that on average, only 3.3KB is transfered - at all. However, if I open an image which is stored in the database and read it to the client, it turns into a 200KB transmission. Ouch! Now imagine there were 20 due to a user listing…I guess you get where I am going.
For now I am using the compression Connect/Express middleware. Compression is really, really neat. But it would be great if I could teach it to compress images too! It works flawlessly with my PHP binding, which means that I can just write my Yii stuff and don’t have to worry about the compressing stuff; its done int he server for me. But images… x.x What good and easy-to-use tools are out there to optimize images? Is there one that „rules them all“ - as in, one that can handle multiple image formats? Would be great to know! Kind regards, Ingwie -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/3E51A1FE-6FF9-40BD-8FD8-D24B57076519%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
