HTML Page & Worker Sites


I’m a noob.
I just want to know how to properly place some html code that will be a one page site basically into a Cloudflare Worker Site and deploy it.

It’ll be a one page site built with Mobrise or, simple, static amp sites with words, a couple of images, and some embeds/iframes.

Any guidance is greatly appreciated.

If you want the HTML and images (and any other files) as a Worker, you’ll have to use Wrangler:

If you want just the HTML, it’s easy with this template. Your images will load normally from your server, but they’ll end up in Cloudflare Cache. Just set the route for this worker to (so only the homepage request hits the Worker).