Launch Mode
Pre-warm your entire cache before going live.
Zero cold cache. Zero slow first requests.
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.
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.
How It Works
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
}
}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 -->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"}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
| Feature | Trident | Varnish | Fastly | CloudFlare |
|---|---|---|---|---|
| Built-in maintenance page | ✓ | — | — | — |
| Automatic URL warming | ✓ | — | Partial | — |
| 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.