Test R2 Publishing: 3-Second Workflow

Published: October 29, 2025

Updated: October 29, 2025


Quick Overview

★★½☆☆ 5/10
Best For: Testing the revolutionary 3-second publishing workflow

Pros

  • No rebuild required
  • 3-second upload time
  • 24hr CDN caching
  • Instant availability

Cons

  • Requires R2 bucket setup
  • First visit slower (SSR)
Price: Free (within Cloudflare limits)
Learn More →

Test Article: 3-Second Publishing Workflow

This is a test article to validate the new R2-based publishing workflow.

How It Works

  1. Write your article in markdown
  2. Upload to R2 using the script (3 seconds)
  3. Done! No rebuild required

Architecture

The new architecture enables:

  • 3-second publishing - Upload directly to R2
  • SSR on-demand - First visitor triggers rendering
  • 24hr CDN cache - Subsequent visitors get cached HTML
  • Zero JavaScript - React removed (191KB saved!)

Performance Metrics

Metric Before After
Build Time 5+ min 3 sec
JavaScript 191KB 0KB
First Visit N/A ~200ms
Cached Visit 50ms 50ms

Test Checklist

  • Article uploaded to R2
  • Article accessible via URL
  • SSR renders correctly
  • CDN caching works
  • Frontmatter parsed correctly
  • Markdown rendered properly

Conclusion

If you're reading this on the live site, the workflow is working! 🎉

This represents a fundamental shift from:

  • Old: Git commit → rebuild → deploy (5+ min)
  • New: Upload to R2 → instant (3 sec)

Published: October 29, 2025 Method: R2 Upload Script Time to publish: ~3 seconds


📤 Published via R2 • ⚡ Rendered with SSR • 💨 Cached for 24 hours