/ New Features

Fly + Pancake: Delicious Delivery

We've just rolled out support for Pancake.io! Pancake joins Walrus.sh, Netlify, and GitHub Pages as a simple, powerful, and intuitive static site generator that you can weave into your Fly applications.

Stacked

Static sites are becoming more prominent as developers want to cut the bloat form their documentation, landing pages, or marketing sites. Using one of many popular static site generators like Jekyll or Hugo, you can get something serviceable up in no time.

Pancake offers some lovely themes while supporting popular static site generators; it's one of the simplest and most cost effective ways of getting reliable hosting for your HTML or markdown pages.

With Pancake, you have two methods of building static pages. You can attach it to any Git project, create a remote, then push your code up when it's ready for production:

git remote add pancake git@build.pancake.io:sample-name-35138.git
git push -u pancake master

You can also connect Pancake to Dropbox. Once connected, Pancake will read everything within the Dropbox/Apps/Pancake.io folder, allowing you to structure the directories and files within to serve your static pages.

No matter which method you choose, your simple markdown or HTML pages will be served through the subdomain you chose when setting-up your project within Pancake:

adjust-info

Once you have your subdomain, add a new site or application Fly, select Pancake from the list, and then add the subdomain within the field that appears:

enter-pancakes

The next step is to setup a DNS record. Depending on who your DNS provider is, the instructions will differ. We've got instructions for DNS configuration within our documentation, should you need them!

Once the DNS record has been verified, you've now woven your Pancake pages into Fly. Your static site will be even faster -- and you'll be able to apply powerful features and write clever request/response logic to kick things up a few levels.

Flycakes

Once you've attached your backend, application, or service to the network, it's served from a global network of intelligent edge-server proxies.

Within each proxy that spans the globe, you can apply powerful middleware; want to invoke specific serverless functions based on regional HTTP header information? Easy! How about sending a low bandwidth version of your pages to people on specific devices or connection speeds? No problem.

The cherry on top is that all of your traffic, when traveling through the Fly network, is served over HTTPS and HTTP/2. The global network keeps termination distances short, which means faster speeds and smoother experiences for your users.

Typically, you'd need to craft quite complicated infrastructure to apply intelligence within your reverse proxies or load balancers -- and you'd need to do it in data centres around the globe. With Fly, our goal is to unlock that frontier, so that developing into a global network is as simple as writing application logic.

Kellen Evan Person

https://goodroot.ca

Kellen Evan Person

A polite, forest-dwelling Canadian who enjoys writing and nature. He's spent near two decades building web applications and strives to keep development fun and light-hearted.

North Vancouver, Canada