CDN for Ghost

Cache public posts and theme assets on a Ghost publication. Keep member-only content, previews and account requests with Ghost.

Example cache policy
Public, cacheable resource
/content/images/issue-cover.webp
Bypass shared cache
/members/api/member/

Deliver published posts and member content separately

Cache the Ghost theme, content images and public post HTML at Cloud CDN. Keep Ghost Admin and members-only content on the origin unless it is truly shareable.

Posts served from the nearest edge

Fresh cached posts and theme assets can be shared across readers who receive the same public content.

Featured images without extra storage jobs

Convert and resize Ghost images at the edge instead of generating every size in content storage.

Memberships stay dynamic

Members-only posts, admin and Stripe-related routes bypass cache so access control stays in Ghost.

Configuration

Cloud CDN overview
  1. Point Cloud CDN at the Ghost origin

    Pull the Ghost host, including /content/images and theme assets.

  2. Cache public reading paths

    Cache anonymous posts, tags and the homepage. Bypass Ghost Admin and member sessions.

  3. Purge on publish

    Invalidate the post URL, homepage and tag pages when a story goes live.

  4. Attach the publication domain

    Map the custom domain and certificate after a successful test hostname.

Operational outcomes

  • Readers hit cached posts and images worldwide
  • Ghost Admin remains on the origin
  • Members-only content is not shared through cache
  • Publish can purge the reading path immediately

Frequently asked questions

Can I cache the Ghost homepage?

Yes for anonymous readers. Purge the homepage when a new post is published so it appears immediately.

How should member content be treated?

Bypass cache for authenticated member responses. Public teasers can still be cached.

Does this work with Ghost(Pro) or self-hosted Ghost?

Use Cloud CDN when you control DNS for the reading domain and can pull from the Ghost origin.

Can I accelerate newsletters assets too?

Public images referenced by posts and pages are cached. Transactional mail remains a Ghost concern.