Static Hosting
Dynamic Hosting

Static Vs Dynamic

fastn can be deployed in two main modes, static and dynamic.

Static Mode

To use static mode you run fastn build command, and this command creates a folder named .build in the fastn package root folder (which is the folder that contains FASTN.ftd file). This folder contains HTML, CSS, JS, and image files. This folder can be deployed on any static web server.

Static mode is a great idea for a lot of content heavy, and infrequently changing sites.

Static Hosting Is Cheaper

A lot of static hosting providers provide free hosting for static content. Static host means no dynamic computation, and so it is quite cheap to host.

You can checkout our guide on Github Pages and Vercel, two of the popular options available to you. Both offer free plans.

Static Hosting Is Harder To Hack

If you are using static hosting, lesser software is running on the server, and therefore it is harder to hack. Wordpress is a common alternative to build content heavy websites, and Wordpress is often hacked by bad players.

Static Sites Are Faster

Since static sites are rendered HTML, so the server can directly serve the HTML files, making it much faster to serve.

Dynamic Mode

Static mode is great, but sometimes you want dynamic features. Maybe you want to have authentication on your site. Or maybe you want to collect information from the visitors or show them up to date information.

To deploy your fastn website in dynamic mode you have to deploy the fastn binary itself. fastn can run on Linux, Windows and Mac so you have a lot of choices for where to deploy it.

Support fastn!

Enjoying fastn? Please consider giving us a star ⭐️ on GitHub to show your support!

Getting Help

Have a question or need help?

Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.

Join our Discord channel and share your thoughts, suggestion, question etc.

Connect with our community!

Found an issue?

If you find some issue, please visit our GitHub issues to tell us about it.

Join us

We welcome you to join our Discord community today.

We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.
Copyright © 2023 -