RX GLOBAL DELIVERY

Edge Cache & Server Delivery

Plan how RX medical knowledge should travel faster from server to CDN edge to patient device, while keeping admin, login, previews, comments, and dynamic actions safe.

1. Static assets

CSS, JavaScript, icons, fallback images, and theme images should use long browser cache rules and CDN delivery because they rarely change.

2. Public pages

Homepage, article pages, guides, hubs, and archives can use page cache for visitors. Logged-in users should usually bypass full-page cache.

3. Safety bypass

Never cache WordPress admin, login, preview links, comment actions, cart/checkout pages, or pages with private user-specific content.

Recommended cache map

AreaSuggested deliveryImportant safety note
Theme CSS/JS/imagesCDN + long browser cacheUse versioned file names or query version after update.
Article pagesPage cache + CDN edge cachePurge cache after article update or review change.
Medical hub pagesPage cache with short-to-medium TTLRefresh after publishing many new posts.
Search pagesUsually bypass full page cacheSearch results can be dynamic and query-specific.
Admin/login/previewNo cacheProtect editing, security, and private sessions.

Cloudflare / edge cache rule idea

Cache public HTML for anonymous visitors only. Bypass cache when WordPress cookies are present, when URL contains preview, or when the path starts with /wp-admin/, /wp-login.php, or checkout/cart paths.

Server cache rule idea

Use Gzip/Brotli compression, HTTP/2 or HTTP/3 when available, object cache for database pressure, and image optimization for slow mobile connections.

RX delivery checklist

  • CDN domain is active for static theme assets.
  • Browser cache headers are long for CSS, JS, fonts, and images.
  • Page cache is enabled for anonymous visitors.
  • Admin, login, preview, comments, and private pages bypass cache.
  • Cache purge process is clear after article or theme update.
  • Low-bandwidth mode is available for weak internet readers.
  • Offline fallback page is tested after first visit.