9 ms·
I'm a bit surprised there's no mention of image optimization proxy / services like thumbor[0] (which is open source). Instead of pre-processing all your images,
by gingerlime 8y ago
I'm a bit surprised there's no mention of image optimization proxy / services like thumbor[0] (which is open source). Instead of pre-processing all your images, it lets you worry about it later. You can compose different transformations and filters (e.g. add a watermark, resize, crop etc). This is especially useful when things on the website change. It lets you keep the original at full size, and transform them as you need.
There are some commercial services in this space, as well as other similar open source services.
If you're looking for a quick way to get thumbor up and running with docker, I'd plug https://github.com/minimalcompact/thumbor https://github.com/minimalcompact/thumbor
[0] https://github.com/thumbor/thumbor https://github.com/thumbor/thumbor
- Cthulhu_ 8y agoSimilarly, if you're still living in the past and / or want to maintain your own server instead of pass it through a 3rd party like that or a CDN, a few years ago Google's mod_pagespeed (module / plugin for both apache and nginx) did image optimization and a lot of other optimizations, all transparently - page caching, creating sprites, inlining small images (as base64), above-the-fold CSS optimization, etc. I'd still recommend it if you've an old-fashioned webserver (like idk, random wordpress installation) and don't want to pay a third party. I don't know if it's still being maintained or updated though, I haven't heard much of it since its release.
- jlg23 8y ago> Similarly, if you're still living in the past and / or want to maintain your own server instead of pass it through a 3rd part So, users' privacy is now officially a thing of the past?
- leeoniya 8y ago> Similarly, if you're still living in the past you mean like when privacy was still a thing?
- briandear 8y agoIf you have a public-facing site, how is using something like Imgix a privacy issue?
- JoshTriplett 8y agoYou're letting a third party track your users and their usage of your site.
- 1996 8y agoAlternatively, this also applies when you are living in the future, and making highly static websites: maintaining your own servers and small CDN gives you a cost and speed advantage. Bandwidth is cheap - except on cloud services!
- voidlogic 8y ago>Similarly, if you're still living in the past and / or want to maintain your own server instead of pass it through a 3rd party like that or a CDN You acnkolgege some people want to "maintain there own server", but its worth pointing out for high-traffic orgs there are some good reasons for doing so. Maybe you want to be an organization that does this at the CDN origin rather as CDN as to be CDN agnostic / have a multi-CDN strategy. This doesn't mean you are living in the past. It means you want CDNs to compete for your traffic and not have you locked in with crazy price leverage over you.
- mderazon 8y agoYou can also run it on AWS as a Lambda function with S3 backend. AWS even created a cloudformation script to deploy it with few clicks of a button https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/architecture.html https://docs.aws.amazon.com/solutions/latest/serverless-imag...
- gingerlime 8y agoThis definitely looks interesting for using with S3/Lambda, but it's not up-to-date to the latest thumbor version[0], and not sure if it's most cost-effective at larger scales. In any case, my main point was that there are plenty of great options for resizing/manipulating images on-the-fly rather than pre-processing :) how you choose to deploy it is secondary. [0] it's providing thumbor 6.4.2, and the latest is 6.5.1 (I'm pretty sure it's possible to upgrade though)