A static website — simplicity, performance, and SEO that fit any project
What is a static website?
According to Google’s research, if your website loads from anywhere from 1 to 3 seconds, the probability of a bounce increases by 32%. It means that every 3 out of 10 visitors to your website will leave your page without even touching all your marketing bells and whistles. Your website must load faster than a second, because users will not tolerate a lack of speed. If your website loads slowly, your potential customers will simply leave. The good news is that static websites can lift the performance of your website to a new level, even without applying advanced techniques. Instead of calling a database or other external source of data, a web server simply sends a bunch of files from a local drive right into the user’s browser. The absence of computation on the server side saves a lot of time!
Simplicity of deployment
Perfectly fits serverless architecture
Serverless functions are indeed a perfect fit for static websites. Setting up a function that serves HTML using services like AWS Lambda is incredibly simple and should be covered by every article that explains how to start deploying serverless functions. The main advantage of running a static website as a serverless function is quite obvious: hosting bills will be significantly lower compared to traditional cloud hosting. By significant, I mean something like 50-60% reduction in cost. Isn’t that a good enough reason to give static websites a try?
Can a static website replace a web app?
What types of projects are static websites good for?
The application of static websites is not limited!
As it turns out, blogs and landing pages are not the only applications for static websites. In fact, there are many others. Promo websites, or for example online surveys, all sorts of feedback forms — they all can be implemented as a static website in an elegant and robust way. Chances are very high that your website or (well-structured web app) can be implemented as a set of static files. At the end of the day, everything on the internet is represented as HTML/CSS/JS files.