Nice work! I wish more WordPress plugins took a Unix like approach of just doing one thing well. Wat too common for good plugins to grow into a bloated mess over time.
Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
21–30 of 66 posts
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#22doesn't cloudflare already offer this if you proxy?
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#23Why use a cf worker rather than use wp hooks to upload to r2 when an image is uploaded? Where does the url rewrite happen - wp hook or in cf worker? As another comment said, 2.99 unlimited is a TERRIBLE idea
The URL rewrite happens in a WordPress hook. And yes, the $2.99 plan could technically cover around 200 GB in R2, but there is real liability attached to that.
What price would feel fair and still interesting to you?
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#24I wouldn't use this, because it seems odd to use a Cloudflare Worker for something inherently static, but I thought about what I might use, and bunny.net came to mind. Now I have a question, which is why on the Bunny.net pricing page doesn't it mention Cloudflare? https://bunny.net/pricing/ It mentions CDN77, BytePlus, CacheFly, CloudFront, and Fastly. Is what Cloudflare provides in a different market segment?
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#25my feedback... a lot of my clients just use cloudflare and its basically free.
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#26[flagged]
I'm listening.
Having said that, I am a big fan of CDNs. Your origin server can generate pages and that’s a lot better than static sites.
If you want a decentralized Internet, don’t use the Web. Use something like Pears / Holepunch / Hypercore / Dat (same thing hehe)
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#27Cloudflare has their own image optimization and caching service, would be a good alternative: https://developers.cloudflare.com/images/transform-images/ I wrote a basic plugin for Jekyll to automatically prefix my images with this. Pretty much just set it and forget it: https://github.com/catskull/catskull.github.io/blob/master/_... Am I missing something or is this way harder to do in Wordpress?
The idea here is that WordPress will still host and transform the images (could have many stacked plugins as a pipeline) but the plugin will rewrite the final image's URL to be served by Cloudflare. So you can benefit of whatever pipeline you have in the server, and let the plugin use cloudflare at the edge.
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#28my feedback... a lot of my clients just use cloudflare and its basically free.
This is true. Honest question: how technical are your clients? I’m trying to get a sense of whether there’s a market where paying $2.99 a month is a better choice than moving the domain to Cloudflare.
Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#29Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery
#30We also have our own CDN-ish DigitalOcean droplets with Terabytes of data transfer available (stacked droplets increase the TB limit under the same account, too). This is a $10-$15 solution for 100+ WordPress sites.
Small droplets (DigitalOcean, Vultr, or managed like CloudWays) offer multi-TB bandwidth for data transfers. With the WebP format, even the highest-resolution image is under 100 KB. We try to keep everything under 50 KB for mobile optimization as well. I don't see sites using 50 GB per month and always below the limits. Why would anyone need an extra layer of complication?