Enterprise Feature

Launch Mode

Pre-warm your entire cache before going live.
Zero cold cache. Zero slow first requests.

Used by AppleUsed by TeslaMajor E-commerce

The Problem

When you deploy new content or make major site updates, your cache is empty. The first visitors hit your slow backend directly, experiencing 500ms+ load times instead of the 15ms cached response.

500ms+
First visitor latency
10-30min
Cache warm-up time
Lost Sales
During launches

The Trident Solution

Launch Mode automatically shows a branded maintenance page while pre-warming your entire cache in the background. When ready, it atomically swaps to the new cache — every visitor gets instant responses from the first request.

15ms
Every visitor, always
Atomic
Instant cache swap
Rollback
One-click restore

How It Works

1

Initiate Launch

Provide a list of URLs or sitemap. Configure your branded maintenance page.

POST /admin/launch/start
{
  "name": "black-friday-2024",
  "sitemap_url": "https://shop.com/sitemap.xml",
  "maintenance": {
    "title": "Something exciting is coming...",
    "show_countdown": true
  }
}
2

Automatic Maintenance Mode

All visitors see your maintenance page (503 + Retry-After). Existing cache preserved for rollback.

HTTP/1.1 503 Service Unavailable
Retry-After: 300
X-Maintenance-Mode: active

<!-- Your branded maintenance page -->
3

Background Warming

Trident fetches all URLs from your backend, storing in a staging cache. Real-time progress via SSE.

GET /admin/launch/events/launch_abc123
Accept: text/event-stream

event: progress
data: {"url": "/products/iphone", "percent": 75}

event: ready
data: {"message": "All URLs cached"}
4

Atomic Swap

Staging cache becomes live instantly. Maintenance mode disabled. All users see new content with cached speeds.

POST /admin/launch/complete/launch_abc123

{
  "status": "completed",
  "urls_warmed": 1250,
  "duration": "4m 30s"
}

Perfect For

🚀

Product Launches

New iPhone announcement? Update all product pages atomically. Every customer sees new content instantly.

🏷️

Price Changes

Black Friday pricing goes live at exactly midnight. No stale prices, no cache inconsistencies.

👗

Catalog Updates

New season collection replaces old one completely. All pages warm before customers see them.

🎨

Site Redesigns

New design goes live only when every page is cached. No mixed old/new experiences.

📦

Inventory Syncs

Ensure all stock levels are current before opening sales. No overselling from stale cache.

🔄

Major Deployments

Deploy with confidence knowing your cache will be warm. One-click rollback if issues arise.

Comparison

FeatureTridentVarnishFastlyCloudFlare
Built-in maintenance page
Automatic URL warmingPartial
Atomic cache swap
Real-time progress (SSE)
One-click rollback
Sitemap support

Ready for Zero-Downtime Launches?

Launch Mode is included in Professional and Enterprise plans.