Developer tests same static page on 8 free hosts, reveals key HTML handling differences
A developer deployed an identical 4.6 KB static page to eight free hosting platforms in a single day to document how each one handles uploaded HTML. All eight hosts — including Cloudflare Pages, GitHub Pages, Netlify, Surge, Hugging Face Spaces, and Lovable — preserved the HTML without modification, though several had notable caveats. Netlify now makes projects private by default, returning a 401 error with no clear warning in deploy logs, while GitHub Pages supports only one site per username rather than one per repository. Cloudflare Pages returns HTTP 200 with the index page for missing paths instead of a proper 404, and Surge.sh is not on the Public Suffix List, meaning all its subdomains are treated as a single site. The developer also flagged that programmatic page checks can be misled by bot-blocking responses from sites like npmjs.com and PyPI, recommending the use of a browser user-agent and anchor-count checks to verify deployments accurately.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in