Reducing website bandwidth usageFeeding the Cloud
<a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>
https://feeding.cloud.geek.nz/posts/reducing-website-bandwidth-usage/Feeding the Cloudikiwiki2012-11-04T04:30:26Zhttps://feeding.cloud.geek.nz/posts/reducing-website-bandwidth-usage/comment_1_10f15254bd11ab84d0b6eb47d782e41d/jimcooncat2012-11-04T04:30:26Z2009-10-09T16:13:17Z
<p>I've wondered before -- why not make this work the other way around, and keep compressed images on the website's hard drive, and expand them only when a browser can't handle it?</p>
<p>I'm sure this just shows my lack of intelligence in this area, though...</p>
https://feeding.cloud.geek.nz/posts/reducing-website-bandwidth-usage/comment_2_7f25396cd1b4315369ee73774901e0f7/paulox2012-11-04T04:30:26Z2009-10-09T22:03:43Z
<p>Try jpegtran instead jpegoptim:</p>
<p>jpegtran -progressive -optimize -copy none orig.jpg > jpegtran.jpg</p>
https://feeding.cloud.geek.nz/posts/reducing-website-bandwidth-usage/comment_3_e40972e8c773e88f6fa10b7a28c7075c/don2012-11-04T04:30:26Z2009-10-12T22:34:25Z
<p>jpegtran++</p>
<p>$ sudo aptitude install libjpeg-progs</p>
https://feeding.cloud.geek.nz/posts/reducing-website-bandwidth-usage/comment_4_9b3985ed11e180057d1ae84b87c7ad4a/Don Marti2012-11-04T04:30:26Z2010-06-20T01:51:18Z
Another item to check (Firebug or Web Developer Extension are useful) is the HTTP Expires: header. Setting a long "Expires" helps minimize traffic from repeat visits: <a href="http://zgp.org/~dmarti/www/image-tweaks/">more info</a>