Live data from Hacker News

Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

wordpress.org

31–40 of 66 posts

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#31

I 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?

> It mentions CDN77, BytePlus, CacheFly, CloudFront, and Fastly. Is what Cloudflare provides in a different market segment?

Cloudflare's pricing is "free until you get a message from the sales team that it's time to pay up". That's impossible to compare to anything else, so yes effectively a different market segment.

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#35

> Privacy > Bandwidth Saver respects your privacy and your visitors’ privacy: Does not track visitors...Does not collect analytics Wouldn't this cause a site's visitors to send traffic to cloudflare in situations where they wouldn't otherwise, allowing cloudflare to log their IP, timestamp, and the image requested, along with any other data in the request header? If this plugin wasn't used on the site cloudflare woul…

My impression was that this would be used by sites already proxied by cloudflare, so this already happens.

But perhaps it is a separate thing that can be used regardless of your dns?

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#36

How many WordPress sites even need this? I have several running and none of them use anywhere close to enough bandwidth that I have to worry about it.

Agreed. I think it should be called "storage saver" and focus on deleting the images from your server and storing in r2, though there's plenty of plugins already that do this "media offloading"

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#37
post #33

What's the advantage of this vs just setting the site up on a free cloudflare plan and use a caching rule?

Easier for non-technical wordpress users who would struggle setting it up themselves.

Cool so the value you provide is much of the benefit of CF but without messing with nameservers etc. (scary). If you don't understand all the techie bits you're going to read 'CDN plugin' and be filed in that basket so I'd work on how to differentiate and market yourself in that space.

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#38
post #8

Why 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 purpose of the worker is to offload all Cloudflare configuration to a single endpoint that fetches and caches each image on demand. This removes the need for any configuration at the WordPress level and keeps credentials out of WordPress entirely. 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 pri…

I don't see the benefit of keeping things out of WordPress.

It also seems like you're recreating or even bypassing existing mechanisms

* why do the processing in wordpress first rather than just offload it completely to cloudflare's image optimization service? I don't think you even need the worker for that - it can be done automatically in various ways.

* are you deleting the files from the server after offloading? That's largely the point of such wp offload media plugins, some of which support r2.

My point about pricing was don't offer flat fee.

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#39

> Privacy > Bandwidth Saver respects your privacy and your visitors’ privacy: Does not track visitors...Does not collect analytics Wouldn't this cause a site's visitors to send traffic to cloudflare in situations where they wouldn't otherwise, allowing cloudflare to log their IP, timestamp, and the image requested, along with any other data in the request header? If this plugin wasn't used on the site cloudflare woul…

I came here to say this. I find the following to be quite misleading:

Bandwidth Saver respects your privacy and your visitors’ privacy:

    Does not track visitors
    Does not use cookies
    Does not collect analytics
    Does not phone home

Because all that tracking and data collection will be done by Cloudflare (a company subject to the CLOUD act) instead.

Re: Show HN: A WordPress plugin that rewrites image URLs for near-zero-cost delivery

#40

You might want to put a cap on the $2.99/m plan, otherwise one huge site could wipe you out. If you do, I'd express that in terms that most small Wordpress sites will understand (like unique viewers, page hits, etc). I think some here will say "why not just use Cloudflare directly", but I disagree, I think this plugin makes sense. Cloudflare is relatively straightforward for technical users, but many Wordpress users…

Yes, this plugin is aimed at the long tail and I need to be clear on a fair use policy. The idea behind the self host worker is that I can provide white glove migration if any site becomes burdensome without disrupting the service altogether. And I agree, if a site is behind Cloudflare DNS this plugin does not make much sense, but it's a solution for many non-technical users, as you mentioned.

Do the long tail websites really have a problem with cost for their delivery? I don't think so.

I'm sorry to say that with this plugin, you're just adding to the pervasive tracking enabled by widespread use of Cloudflare.

Post reply on HN