Skip to content

CDN and Shield

In short

Every CloudPress site sits behind an edge layer. It has two parts:

  • CDN — caches your site's files at edge locations around the world so visitors load pages faster and your origin handles less traffic.
  • Shield — a security layer (Web Application Firewall, DDoS mitigation, bot detection and rate limiting) that filters malicious traffic before it ever reaches your site.

You manage both from your site's dashboard, under the CDN and Shield sections in the left sidebar.

This page explains what the edge layer does and what you can control. For the step-by-step tasks, follow the linked how-to guides.

The edge layer

When someone visits your site, their request first reaches our edge network — servers close to your visitors — before it touches the server your WordPress site runs on (the origin). The CDN caches and serves content from the edge; Shield inspects and filters traffic at the same edge.

CDN is automatic; Shield depends on your plan

The CDN is enabled automatically based on your hosting plan — there's nothing to switch on. Shield is included on plans that offer it; on plans that don't, the Shield section shows a "Shield isn't included in your plan" card with an Upgrade plan link instead of the controls.

CDN (caching)

Open a site, then in the left sidebar open CDN. It has two tabs: Caching and Edge Rules.

The Caching tab is where you tune how the CDN stores and serves your files. The top-right Purge Cache button clears the entire cached copy for the site at once — useful after a big content change. Purging means visitors may briefly hit your origin while the cache rebuilds.

If the CDN isn't active yet

If a site's CDN hasn't been provisioned, the Caching tab shows a "CDN is not active for this site" message. Wait for provisioning to finish.

The Caching tab groups settings into three cards:

Card What it controls
General Smart Cache (caches requests by file type for full-site acceleration), Cache expiration time (how long the edge keeps files before re-fetching from your origin), Browser cache expiration time (how long visitors' browsers keep files), Query string sort, and Cache error response.
Vary Cache Which request attributes store their own separate cached copy — for example browser WebP/AVIF support, Cookie value, Desktop / Mobile, Request hostname, URL query string, and User country code. Also includes Strip response cookies and Optimize for large object delivery.
Stale Cache Serve a stale cached file While origin offline (when your server is unreachable) and While updating (serve the old copy while fetching a fresh one in the background).

Vary cache multiplies your cached copies

Each attribute you enable under Vary Cache becomes part of the cache key, so every combination stores its own cached file. Enable only what your content actually varies on — turning on more than you need lowers your cache hit rate.

Expiration presets

Cache and browser expiration are chosen from presets ranging from 1 minute up to 1 year. The cache expiration default, "Respect origin Cache-Control", honours the caching headers your site already sends; the browser default, "Match server cache expiration", mirrors the edge setting.

Edge rules

The Edge Rules tab lets you define custom rules that act on requests at the edge — for example forcing HTTPS, redirecting URLs, or overriding cache behaviour for specific paths. See Managing edge rules for how to create and order them.

Custom domains over the CDN

A custom domain you connect to a site is served through the CDN. A free SSL certificate is issued for it automatically once its DNS points at CloudPress, and HTTPS is enforced.

See Adding a domain to a site for the step-by-step flow.

Shield (security)

Open a site, then in the left sidebar open Shield. The section has these pages:

Page What it does
Overview Shows Shield status, the current WAF mode (Block or Log only), and a chart of activity over the Last 28 Days. This is also where you Activate Shield for a site or Deactivate Shield.
WAF The Web Application Firewall: turn it on/off, choose its execution mode, tune rule sensitivity, control allowed protocols, and manage rules (see below).
Bot Detection Detect and challenge automated traffic.
Rate Limits Limit how many requests a visitor can make in a given window.
Access Lists Your own allow/block lists, plus curated threat lists.
Security Events A log of what Shield has blocked, challenged, or logged.

For the common tasks across these pages, see the Shield guides.

Activating Shield

On a plan that includes Shield, a new site shows "Shield isn't active for this site" with an Activate Shield button. Activating it turns on WAF, DDoS, bot and rate-limit protection at the edge. Deactivating Shield (from the Overview page) removes all of that protection.

The WAF

The WAF (Web Application Firewall) page is the heart of Shield. A few things worth understanding:

  • Execution mode decides what the WAF does when a rule matches. Log only records the hit without affecting the visitor — useful while you're tuning rules — while Block actually stops the request. The current mode is also shown on the Overview page.
  • Rule sensitivity is chosen from presets — Low, Medium, High, Extreme — or you can pick Custom levels. Higher sensitivity catches more but is more likely to flag legitimate traffic.
  • The WAF page has two rule tabs: Managed Rules (built-in rules you can set to disabled or log-only) and Custom Rules (your own rules, which you can create, edit, and delete).

Start in Log only when tuning

If you're worried about blocking real visitors, run the WAF in Log only mode first, watch the Security Events page to see what would have been blocked, then switch to Block once you're confident.

Access lists

Shield has two kinds of lists, and they work differently:

  • Access lists are lists you create to allow or block traffic. Each list holds entries — by IP address, IP range (CIDR), network number (ASN), country, organization, or browser fingerprint (JA4) — and you choose what action applies to them.
  • Curated lists are threat catalogues we maintain (such as VPN providers, datacenters, TOR exit nodes, and botnets). You can't edit their contents; you only choose whether each is enabled and what action to take.

Rate limits

Rate-limit rules cap how many requests a visitor can make within a time window before they're blocked. They're created and edited on the Rate Limits page.

Shield tiers

Some Shield features depend on your Shield tier. On the lower tier the rate-limit time window is capped, and a longer window is rejected with a prompt to upgrade. Bot Detection, Realtime Threat Intelligence (a WAF setting) and the higher-tier curated lists show as a disabled control or a locked row with an upgrade prompt until your plan includes them.

Reviewing what Shield did

The Overview page summarises the last 28 days: DDoS attacks mitigated, WAF rules triggered, and bot activity. For the detail, the Security Events page lists individual events in a table with columns for Time, Severity (Critical, Warning, or Notice), Rule ID, Country, Method, and Status.

Tracking down a false positive

If legitimate traffic is being blocked, the Security Events page is where you identify the offending rule by its Rule ID. Once you know which rule it is, adjust it on the Managed Rules or Custom Rules tab — disable it or set it to log-only.

Using the API

To manage caching and security through the API, see CDN and Shield.