xStatic for Umbraco

xStatic is a free Umbraco package that generates static HTML sites from Umbraco content. This allows for very cheap and fast hosting of simple sites.

Is xStatic for you?

xStatic has the potential to be used in a variety of different ways. Static site builders have become popular over the last few years as a viable alternative to the classic CMS. Below are some of the reasons to consider using xStatic.

Starting small

Hosting an Umbraco website can be a a bit expensive when you start out. As long as you have a personal computer on which you can install Umbraco you can host a small website for free using Netlify! You still have local access to the great Umbraco management interface for creating your content.

You're planning to grow

You may only need a small static site now, but what happens if you need to leverage the more powerful functionality of Umbraco in the future? Simple, just take the site you've built and move it to a full .Net host! As you've used Umbraco all along your site can grow with you. No need for a rebuild!

You need to be secure

Are you running an extremely sensitive operation? Statically generating a site from Umbraco means that the public site doesn't need to access any code or databases.

It needs to be fast

What can be faster than simply serving a file that already exists? Static sites are perfect for CDN / Edge servers.

You like to share

xStatic is perfect for showcasing your open source Umbraco plugins. Do you have a new starter kit or a fancy piece of front end wizardry? Install into Umbraco, generate your example website and host on Netlify for free.

You want to attract clients

Why not add a few images and styles to your existing base build and push the result to Netlify in minutes. You can share or demo this website and separate you from your competition.

xStatic is very easy to set up. Below is a video showing how you can configure and release your static website in less than 5 minutes!

 

 

Documentation

Building your first static site

Setting up xStatic is easy, and following these steps you can configure your first static site within minutes.

Deploying to Netlify

Setting up a Netlify site is free, and should only take a few minutes to create and configure within xStatic.

Deploying using Git

Using Git to deploy your static site means that you can easily release to GitHub Pages, as well as any other continuous deployment platform. 

Deploying to FTP server

if you have an existing server with FTP access, this may an easy option. xStatic will update the remote server to mirror the files built locally; this seems to be slower than the Git and Netlify deployment methods.

Image crops

xStatic works with the built in Umbraco image cropping functionality, but you do need to do a little bit of configuration.

Troubleshooting

xStatic should work out of the box, but if it doesn't, this is the place to check first.

Extending xStatic v1

You can extend xStatic to generate and transform the output to fit your specific requirements.

Extending xStatic v2+

You can extend xStatic even more with the version 2 upgrade and this is the place to find out how.

If you want to contribute to xStatic, please fork the repository at https://github.com/Mulliman/xStatic-for-Umbraco