3 ms·
FWIW, we host on Cloudflare and use their API to resize images on the fly and we're fine. Not so much a "lock-in" if other vendors can fill-in, is it?
by steelbrain 2y ago
FWIW, we host on Cloudflare and use their API to resize images on the fly and we're fine. Not so much a "lock-in" if other vendors can fill-in, is it?
- nicce 2y agoYou likely needed to do more extra work than needed, when compared to some other options. The lock-in here is the added developer time and complexity vs. just paying premium.
- steelbrain 2y agoI disagree with your threshold for what makes something a lock-in but I admire your ideology of less friction in portability
- winterrx 2y agoWhat API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.
- steelbrain 2y agoYes, Cloudflare through the `loader` prop in `Image` component. See CF docs for what the url should be https://developers.cloudflare.com/images/transform-images/transform-via-url/ https://developers.cloudflare.com/images/transform-images/tr... Next.js docs should tell you how to write the loader
- RamblingCTO 2y agoIf you need to change it when switching vendors and only they offer it/it's proprietary, it's vendor lock-in.