The caching isn't mandatory. It can sit in front of dynamic services and will cache what it can. Most CDNs have you upload (push) content and you either link to content from your web site or you put the entire web site onto it as a static site, etc. Some services support both.
Conversation
They also have other services related to that including load balancing across more than one origin server. You can use the load balancing with their proxy disabled too. You can run code on the edge nodes via Workers to reduce the need to make requests to the origin server, etc.
1
1
Cloudflare started out as being a caching nginx reverse proxy as a service with a network of many edge nodes using anycast IPs to route traffic to nearest edge node, and from there to your origin server(s) for anything that wasn't cached. They diverged from nginx though.
2
1
They still use a substantially modified fork of nginx which has diverged more and more and does much more. They use multiple types of nginx instances of it on every node. Substantially different from upstream project and they're gradually replacing it with homegrown stuff.
1
1
nginx's own caching reverse proxy support and other features are far more primitive and they gradually replaced almost all of it with their own code to the point that it's not really nginx anymore. They tried to upstream a bit but it mostly didn't go anywhere and it's too late.
1
A problem with nginx as an open source project is they have an open core model where a bunch of important and even very basic features are part of NGINX Plus instead of open source nginx. Simple example: nginx permanently caches DNS result for each host entry in upstream blocks.
2
1
I'll believe it when I see it. Their business model is at odds with an open source project accepting contributions, since they get their money from implementing features based on contract work and selling access to features exclusively available in NGINX Plus. Doesn't mix well.
2
1
Do these contract features get implemented for OSS or Nginx Plus, or only as proprietary plugins for the buyer? Curious.
1
Probably a mix of both. They probably don't like to maintain a bunch of core features in NGINX Plus. A particularly frustrating thing is that you can see a bunch of stubs for proprietary features in the open source nginx since they do make things convenient for themselves.
It's one of those projects that theoretically takes contributions but where in reality it's extremely hard to get them to accept any features not directly requested by their customers and they may want to write it themselves to get paid by them anyway. It's fairly frustrating.
1
unit.nginx.org has much more open development with commercial support instead of a proprietary variant and maybe they're trying a different business model with it. I don't really think they plan to change things for the traditional nginx web server / reverse proxy.
1
Show replies

