Mirage CDN
CDN fundamentals / field guide 02

Pull CDN vs push CDN

Compare request-driven content acquisition with publishing files ahead of demand, including release workflows, cache warming, and rollback.

By Mirage CDN · Updated

Pull CDN and push CDN describe two approaches to getting content into a delivery system. In a pull workflow, the system obtains content from a configured source when it needs that content. In a push workflow, a publisher transfers files into the delivery platform as part of publication. The practical difference is where acquisition sits in your release process.

These labels do not define one universal upload API, storage contract, or cache policy. Ask what each implementation means by them. This comparison uses the replication and distribution concepts in the cited RFCs to explain two developer workflows; it is not a feature statement about an available service.

Pull: request-driven acquisition

RFC 3040 describes demand-driven replication and the relationship between a client, a surrogate, and an origin. A surrogate acts on behalf of an origin and may obtain responses from that origin or another delegate. This provides the architectural basis for a pull delivery flow: a node acquires an object when the serving path needs it.

Imagine that a documentation build publishes guide-v3.pdf to an origin. A pull integration lets the delivery system find that file through its configured origin mapping. The build still needs to publish the authoritative file correctly, but it does not necessarily include a separate upload to the delivery nodes.

For that hypothetical integration, add a release check that retrieves a previously unrequested file through the public delivery URL. Check the response against the build artifact. This exercise tests the acquisition path, while repeating a request for an established object may exercise only an already populated cache. Both checks have a purpose; record which one you performed.

Push: publication-driven acquisition

In a push workflow, your release procedure includes transferring assets to the delivery platform before readers request them. RFC 3040 also describes batch-driven replication, where copies are distributed independently of individual client demand. The published storage destination may itself feed another caching layer, so a completed upload does not imply that every serving cache holds the object.

Suppose a release contains a stylesheet, two fonts, and a downloadable archive. A proposed publication sequence is to build these artifacts, upload them, verify each public URL, and only then publish the page that references them. Make failure explicit: an unsuccessful upload or a checksum mismatch should prevent that page release.

Document who owns the source copy and what happens when an uploaded object is removed. These are operational questions to resolve with the platform’s actual contract. The word push alone does not establish retention, replication completion, deletion behavior, or a recovery procedure.

Acquisition and routing answer different questions

RFC 3466 models content distribution and request routing as separate functions. Distribution places content at serving locations; request routing determines where a request is directed. Keeping those responsibilities separate prevents an easy mistake: assuming that a file was tested at every possible serving location because one URL returned the expected bytes.

For your release checklist, create separate evidence fields for artifact publication and delivery verification. Record the release identifier beside both. If your platform supplies a distribution-completion signal, document what it covers before relying on it. If it does not, keep the verification claim limited to the locations and request paths you actually exercised.

This distinction also explains why pull and push are not answers to how anycast routing works. You can discuss the acquisition workflow without making a claim about the network mechanism used to select a destination.

Cache warming is a separate operation

RFC 7336 discusses pre-positioning, revalidation, and purge as control operations in a CDN interconnection architecture. Its examples show that acquiring content ahead of requests is an operation that can be coordinated separately from normal delivery. That is useful vocabulary for evaluating a warming feature, but it does not mean every CDN implements that interface.

Treat warming as a rehearsal step with a defined target list. For a release, that list might contain only the new stylesheet and the documentation archive. Record completion and failures for those specific objects. Avoid a vague checklist entry such as warm the site, which leaves both its coverage and its success condition unclear.

Plan updates and rollback before choosing

Versioned filenames make a release plan easier to inspect. RFC 8246 defines immutable as a statement about a response remaining unchanged during its freshness lifetime. It does not publish new files, distribute them, or delete old versions. Use that directive only when the resource’s update behavior supports the promise.

As a proposed workflow, keep the previous release’s assets available while checking a new release. Rehearse a page rollback that references the earlier filenames. Then decide when those assets can be removed. This makes rollback a concrete exercise with expected URLs, instead of an assumption hidden behind the choice of pull or push.

Choose the workflow that fits your publication process and can be verified with a small repeatable test. Mirage CDN is a pull CDN with manual onboarding for video, downloads, websites and API delivery. Its integration guide explains the process of connecting an origin and testing the agreed cache rules. For the response-level rules that apply after acquisition, continue with HTTP caching headers.

Sources

This guide explains technical concepts. For your delivery setup, review the documentation and request an account from our team.

Read the integration docs · Explore more CDN guides