2024 Free Static Web Resource Deployment Summary
The Chinese Web Font Project focused on solving the issue of font CDN service provision throughout last year. Since font deployment is purely a static resource, many free static website deployment services can effectively serve external CDN functionalities.
To create such a static CDN resource site, we require vendors to meet the following criteria:
Basic Requirements:
- Allow the deployment of static resources and automatically provide domain name and HTTPS services.
- A generous free quota of around 100GB/month would be ideal; the more, the better.
- Ideally accessible from Mainland China (a must for targeting domestic users).
- Support for direct continuous deployment from GitHub.
Additional Points:
- Support for Edge Workers.
- Allow projects to define headers for deployment files (primarily to address CORS-related cross-domain issues).
- Provide website traffic data charts.
- Offer SSR services for frameworks like Nest.js and Astro.
No.1 Netlify – Undoubtedly the King of Free Services
Advantages
- 100GB free quota each month.
- (You can inquire with customer service if there are discounts for GitHub open-source projects, and then place Netlify-related links on one of your front-end open-source projects, as this can grant you a super user quota of 1TB per month.)
- Accessible in Mainland China, with robust edge nodes and fast speed. The Chinese Web Font Project has been using it for a year and it's quite stable.
- Supports automatic continuous deployment, directly linked to GitHub projects, making it stress-free and enjoyable.
- Supports Edge Worker deployment connecting to other applications.
- Supports deployment of SSR frameworks.
Disadvantages
- Documentation is extremely lengthy, filled with unnecessary descriptions; it's quicker to just register and get started.
- Website traffic data analytics is available only for members.
No.2 Cloudflare Pages
Advantages:
- 100K requests per day (calculated by count, surprisingly).
- Accessible in Mainland China; although it has edge node support, it can be slightly laggy.
- Supports Edge Worker deployment servers.
- Provides additional free integrated services from Cloudflare, such as Stream and R2.
- Supports frameworks like Astro and Nuxt.
- Offers simple access data statistics.
Disadvantages
- Service is somewhat unstable; automatic edge nodes are not particularly friendly for domestic users.
No.3 Render
Advantages
- 100GB static site bandwidth per month, with basic access data statistics.
- Can deploy not only front-end but also servers, although performance may be lower.
- Allows easy header setting through a visual interface.
Disadvantages
- The performance of the build server is relatively poor, leading to longer packaging times.
- It appears to not support Edge Workers; using SSR would require a dedicated server, which has a different billing scheme.
No.4 Vercel
Advantages
- Free 100GB.
- Highly compatible with the React ecosystem, offering significant SSR support.
- Integrates features like databases, Blob, and KV.
- Supports direct continuous deployment from GitHub projects.
Disadvantages
- Blocked in Mainland China, making it unusable.
- Team mode incurs additional costs.
No.5 Kinsta
Advantages
- Supports WordPress and static deployments.
- 100GB provided, but with limits on site size and number (generally, it's hard to reach the cap).
Disadvantages
- Free accounts cannot modify headers.
- Additional costs required for services like databases.
- Claims to use Cloudflare's CDN, so... why not just use Cloudflare instead?
No.6 Surge
Advantages
- No limits on the number of sites you can publish.
- Basic SSL provided.
Disadvantages
- Does not allow deployment of large resources.
- Lacks a graphical interface.
- Requires writing an Action for GitHub projects, which can be a bit of a hassle.