My EdgeOne Pages Experience

2 min

My EdgeOne Pages Experience: Deploy a Globally Accessible Website in 5 Minutes

As a developer who frequently tinkers with personal blogs and frontend projects, I’ve been searching for a fast, stable, and low-cost static website hosting solution. I’ve previously used GitHub Pages (slow access in China), Vercel (occasionally blocked), and Cloudflare Pages (high latency in China). Recently, I tried Tencent Cloud EdgeOne Pages, and the experience was surprisingly good.


Lightning-Fast Deployment: From Code to Live in 5 Minutes

I had a small project written in Vite + React and wanted to quickly deploy a demo page. On EdgeOne Pages:

  1. Authorize GitHub: Directly connect my repository and select a branch (main).
  2. Automatic Framework Detection: EdgeOne detected it was a Vite project and automatically filled in the build command (npm run build) and output directory (dist).
  3. One-Click Deployment: Click “Start Build”. A little over a minute later, the website was live. It automatically assigned a free xxx.edgeone.app domain with HTTPS included.

Comparison Experience:

  • GitHub Pages requires manual gh-pages configuration and is still slow in China.
  • Vercel is fast but occasionally unstable.
  • EdgeOne Pages is blazing fast in China, with no lag throughout the entire process.

Possibilities Unleashed by Edge Computing

Although my portfolio mainly consists of static content, EdgeOne’s edge functions allowed me to implement some really cool features:

Real-Time Analytics Dashboard

// Edge Function code
export async function handleRequest(request) {
  const analytics = await EDGEKV.get('site_analytics') || { views: 0 }
  analytics.views++
  await EDGEKV.put('site_analytics', analytics)

  return new Response(JSON.stringify(analytics), {
    headers: { 'Content-Type': 'application/json' }
  })
}

This simple implementation lets me view website traffic data in real-time, and because it runs on edge nodes, the response speed is incredibly fast.

Optimized Development Experience

  • Real-Time Preview: Automatic deployment triggered after every git push, generating a temporary preview URL.
  • Multi-Environment Management: Easily set up production/staging environments.
  • Rollback Functionality: Revert to any previous version with one click.

These features make my development workflow much more efficient, especially when I need to showcase different versions to clients.

Cost Advantage

Currently, EdgeOne Pages is in public beta:

  • Provides 5GB of storage for free.
  • 1 million free requests per month.
  • Generous free tier for edge functions.

For personal projects and small business websites, these resources are more than sufficient.

Practical Usage Recommendations

  1. Image Optimization: Combine with Tencent Cloud’s COS storage + image processing to further improve loading speed.
  2. Caching Strategy: Set up reasonable CDN caching rules to reduce origin pull requests.
  3. Monitoring Setup: It’s advisable to configure basic alerts to stay informed about your site’s status.

Summary

After a month of actual use, EdgeOne Pages fully meets my needs:

  • Simple and quick deployment.
  • Excellent access speed within China.
  • Powerful edge computing capabilities.
  • Smooth development experience.

A Domestic Alternative Worth Trying

Fast Deployment: Direct Git integration + automatic builds. Go live in 5 minutes. ✅ Dynamic Capabilities: Edge Functions + KV storage, making static sites “dynamic”. ✅ Fast in China: Powered by Tencent Cloud’s CDN, more stable than overseas services. ✅ AI-Powered: Natural language site building, suitable for non-technical users.

If you’re tired of GitHub Pages’ slow speed or Cloudflare’s latency in China, EdgeOne Pages is an excellent alternative. The experience is truly fantastic! 🚀