3 ms·
Does CloudFlare have an on-demand image optimization like Vercel? I love that I can specify <Image src="original_image.jpeg width="500px" /> and Vercel just too
by taw1516 3y ago
Does CloudFlare have an on-demand image optimization like Vercel? I love that I can specify <Image src="original_image.jpeg width="500px" /> and Vercel just took care of it for me. I am looking for something cheaper and works on native mobile apps as well.
- NicoJuicy 3y agoYeah https://developers.cloudflare.com/images/image-resizing/ https://developers.cloudflare.com/images/image-resizing/ https://developers.cloudflare.com/images/image-resizing/url-format/ https://developers.cloudflare.com/images/image-resizing/url-... Example: src="/cdn-cgi/image/width=80,quality=75/uploads/avatar1.jpg About /cdn-cgi/image/ It's a fixed prefix that identifies that this is a special path handled by Cloudflare’s built-in Worker. --- Price at Cloudflare : 50,000 monthly resizing requests included with Pro, Business. $9 per additional 50,000 resizing requests. See: https://www.cloudflare.com/plans/#add-ons https://www.cloudflare.com/plans/#add-ons As a reference: Vercel is $5 per 1000 source images. So Cloudflare is a whopping 25 x cheaper. Price at Vercel: https://vercel.com/docs/image-optimization/limits-and-pricing https://vercel.com/docs/image-optimization/limits-and-pricin...
- taw1516 3y agothat is a lot cheaper than Vercel in term of store image but egress seems expensive since they charge per cache image served as well. Do you know if Cloudinary is a better option?
- deleted 3y ago[deleted]
- NicoJuicy 3y agoTbh. I'm mostly following Cloudflare + azure. I checked quickly and cloudinary works with credits. Cloudflare mentions 1$ / 100 k. Images served, which seems pretty cheap to me. The pricing I mentioned was for image manipulation, eg. Resizing ( not storage), which was what was asked. I doubt they are cheaper though.
- ayuhito 3y ago[dead]
- Scaevolus 3y agoThey have an image cdn that does resizing and such, but the per-request fees are rather high.
- NicoJuicy 3y agoWhat do you mean? Cloudflare is 25 x cheaper than Vercel Vercel : 5$ / 1000 requests Cloudflare : 9$ / 50.000 requests