Hacker News new | ask | show | jobs
by ParameterOne 1704 days ago
Well if its just you serving your own images then I think it doesn't matter. If its you hosting images for others, then that chould raise your costs but should be looked at as a cost of doing business and adjust pricing if necessary. The increased cost could be outweighed if there is a significant amount of business you didn't get by not offering the jpeg uploads.
1 comments

If you use a service like Amazon S3 or Cloudflare R2 you pay a certain amount for storage and a certain amount for bandwidth.

In a collection of, say, a few million images, you will have many that generate very little traffic but others that become extremely popular in comparison. You might be worrying about "how to pay to store less popular images" and "how to pay for bandwidth for highly popular images" at the same time!

If I can publish only webp I feel like I am optimizing both storage costs and bandwidth costs at the same time. Adding more formats can help with bandwidth but can only hurt in terms of storage.