Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


You 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.


I disagree with your threshold for what makes something a lock-in but I admire your ideology of less friction in portability


What API do you use to resize images? Cloudflare? I know Vercel and NextJS have an <Image> resizing/optimization component that gets pricy.


Yes, Cloudflare through the `loader` prop in `Image` component.

See CF docs for what the url should be https://developers.cloudflare.com/images/transform-images/tr... Next.js docs should tell you how to write the loader


If you need to change it when switching vendors and only they offer it/it's proprietary, it's vendor lock-in.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: