A team with one nginx cache in front of its application already has a useful delivery layer. The decision is whether it wants to operate that layer in the locations and failure conditions its users require. Start with the current system’s actual strengths.

List the work behind a cache hit

Both designs need a cache key, freshness rules, upstream validation and safe handling of private responses. With nginx, operators configure storage, cache behavior and the machines or services hosting it. A managed distribution supplies delivery infrastructure, while your team still owns application semantics, origin availability and deployment correctness.

Price a second location

For a self-hosted expansion, count capacity, connectivity, monitoring, certificate renewal, configuration distribution and staff time. For a managed service, obtain the delivery and request rates for your traffic mix, optional feature costs and expected origin egress. Use the same region, transfer volume and recovery requirement in both estimates.

Run one release and one recovery

Publish a new asset, correct an existing document and take one test cache node or route out of service. Measure the work needed to restore delivery and verify content. A team that already operates a regional fleet may value direct control. A team establishing global delivery for the first time faces a different maintenance commitment.

Sources & further reading

Reader questions

Can nginx stay as our origin proxy if we choose a CDN?

Yes. Assign upstream routing and application responsibilities explicitly, and check how invalidation and redirects behave when both layers participate.