Github IO Page or AWS S3 and CloudFront.
Github IO Page
- Easy to setup and deploy, just use git, and free.
- Have many theme
- Custom domain, but doesn’t support https for custom domain.
_config.ymlto solve the SPA route issue.
- Support multiple version for js/css, but index.html only has 1 version, but it can updated.
AWS S3 and CloudFront
- You have to pay.
- Upload everything in S3, and sync to CloudFront as CDN.
- S3 host as static web site, set error page to index.html for spa.
- use custom domain via CloudFront, support https.
- CloudFront can support version file, but hard to sync index.html, use lambda@edge.