CDN for websites

Connect a public hostname to an HTTPS origin. Set separate lifetimes for HTML and versioned assets, then test updates, redirects and session-dependent pages.

Example cache policy
Public, cacheable resource
/assets/site.18af.css
Bypass shared cache
POST /contact

Define cache rules by content type

Put Cloud CDN in front of the site hostname. Cache assets aggressively and HTML with purge. Keep forms, previews and admin on the origin.

Public page caching

A fresh response can be served without an additional round trip to the website origin.

TLS 1.3 and DDoS on the public name

Visitors terminate at the edge. The origin is no longer the public path.

Publish, then purge

CMS updates can invalidate HTML without waiting on a long TTL.

Configuration

Cloud CDN overview
  1. Connect the existing website origin

    Pull the current host over HTTPS.

  2. Cache static files first

    CSS, JS, fonts and images, then HTML.

  3. Bypass admin and forms

    POSTs and CMS editors must reach origin.

  4. Cut over DNS

    Attach a certificate and point the site domain at Cloud CDN.

Operational outcomes

  • Public websites are served from the edge
  • Admin and forms remain dynamic
  • TLS and DDoS sit on the hostname
  • CMS publish can purge HTML

Frequently asked questions

Will this work with my current host?

If the host can be pulled over HTTPS, yes. Cloud CDN does not require you to move the CMS.

Can I keep my domain?

Yes. Map the existing hostname and use a managed or custom certificate.

What about contact forms?

Form POSTs bypass cache and reach the origin or form handler.

Is this only for static sites?

No. Dynamic websites can still cache assets and anonymous HTML. See WordPress, PHP and web applications.