1. Reference Link to heading
2. My Blog Deployment Setup Link to heading
- Write content locally using Hugo ↓
- Push the source code to GitHub ↓
- Use Cloudflare Pages for automatic build and deployment ↓
- Set up custom domain: heirenlop.com (with auto HTTPS) ↓
- Store large files (videos, images) separately using Cloudflare R2 ↓
- Accelerate the entire site (including access from mainland China) via Cloudflare CDN
3. Configuration Rules Link to heading
3.1 Caching Rules for Images & Videos Link to heading
I set a custom TTL and raised the cache level to speed up access for media files.
3.2 Redirect Rules Link to heading
All visits to www.heirenlop.com/*
are automatically redirected to https://heirenlop.com/*
.