Wasatch Bitworks
← All posts

Static Sites: Fast, Secure, and Built for Modern Businesses

Zachary Kane

Why I build websites with static site generators like Eleventy and Astro, and how choosing the right platform creates faster, safer, and easier-to-maintain websites.

Static Sites: Fast, Secure, and Built for Modern Businesses

If you've looked around the web development world over the past few years, you've probably heard the term static site. It sounds like something old-fashioned or limited, but in reality, static sites power some of the fastest, most secure websites on the internet.

At Wasatch Bitworks, nearly every website I build is based on a static architecture. That isn't because they're "simple." It's because they're reliable, incredibly fast, and an excellent fit for most small businesses.

What Is a Static Site?

Traditional websites generate pages every time someone visits them. A web server runs code, talks to a database, builds the page, and then sends it to your browser.

A static site works differently.

The pages are built ahead of time and deployed as simple HTML, CSS, and JavaScript files. When someone visits your website, those files are delivered immediately. There's no waiting for a server to build the page.

The result is a website that's:

  • Extremely fast
  • Highly secure
  • Reliable under heavy traffic
  • Inexpensive to host
  • Easy to deploy

There's no live database or application server sitting on the public internet waiting for a visitor's request: nothing to patch, nothing to exploit, no query for an attacker to inject into. And because every page is already-built HTML served from a CDN edge instead of generated per-request, a traffic spike is just more cache hits, not more load on a server.

For many businesses, that's exactly what's needed.

Why I Build Static Sites

Most small business websites don't need to generate pages every time someone visits.

Instead, they need to:

  • Explain what the business does
  • Showcase services or products
  • Display galleries
  • Publish blog posts
  • Collect contact requests
  • Show customer reviews

Those things don't require a traditional server generating pages on every request.

Instead, I use a custom content management system to manage the site's content. When a client is ready to publish their changes, they click a Build Site button, which triggers a fresh deploy. Visitors always receive a pre-generated, fully built static website without any of the overhead of a traditional dynamic application.

Choosing the Right Tool

Not every project has the same requirements.

That's why I primarily build with two different static site generators.

Eleventy

Eleventy is my preferred choice for straightforward marketing websites.

It's lightweight, incredibly fast, and keeps the technology stack simple.

It's perfect for businesses that need:

  • Home page
  • About page
  • Services
  • Contact page
  • Basic image galleries
  • Simple content updates

For brochure-style websites, Eleventy is hard to beat.

Astro

Some businesses need capabilities that go well beyond a traditional brochure website. That's where Astro becomes the perfect foundation.

It lets me build larger, feature-rich websites while still keeping all the performance advantages of static generation.

My demo platform, for example, includes:

  • Blog publishing
  • Photo galleries
  • Editable content elements
  • Customer reviews
  • Product catalogs
  • Inquiry forms
  • SEO management
  • Analytics integration

The site you're reading this on right now is built exactly this way.

Despite all of those capabilities, the final website remains incredibly fast because visitors are still receiving pre-built pages.

How an Astro Site Actually Gets Its Content

None of this works by magic, so it's worth showing the real mechanics.

Every Astro site I build pulls its content from a custom API (Application Programming Interface). During the build, Astro requests blog posts, galleries, products, reviews, and other content as JSON, then generates the finished HTML pages ahead of time (GET /api/sites/:slug/blog, getStaticPaths, for anyone who knows the framework). By the time a visitor loads the site, there's no API call happening in their browser and no database being queried on their behalf: that already happened once, at build time, on my infrastructure.

Images follow their own pipeline. When a photo is uploaded through the CMS, a service I built called MasterImageService processes it into a single capped, web-ready JPG: stripping EXIF/GPS data, converting HEIC files automatically, and capping dimensions so nobody accidentally ships a 12MB phone photo to production. That processed image is stored in S3, scoped privately per client and per site, and every image URL a visitor's browser actually sees is served through Amazon CloudFront, not the S3 bucket directly. The bucket itself blocks all public access. CloudFront caches the image at edge locations around the world and handles delivery, so a gallery on a static site loads as fast as the HTML around it.

The result is that "static" doesn't mean "limited." It means the expensive parts (database queries, image processing, page generation) happen once, in advance, instead of on every single page load.

The Best of Both Worlds

One misconception about static websites is that they're difficult to update.

That isn't true.

Behind the scenes, my clients use a custom content management system. They edit text, publish blog posts, upload images, manage products, and update reviews through a simple interface.

When they're ready, they click Build Site, and the latest version of their website is published automatically.

They get an easy editing experience without sacrificing speed or security.

Is a Static Site Right for Every Business?

Not always.

Static sites are an excellent fit for most marketing websites, blogs, portfolios, and many product catalogs. But some projects require server-side logic that runs on every request.

For example:

  • Full-featured e-commerce storefronts with shopping carts and checkout
  • Customer portals with secure logins and personalized dashboards
  • SaaS applications
  • Internal business tools that work with live data
  • Applications with complex user accounts and permissions

Those kinds of projects are better suited to a traditional web application framework like Ruby on Rails, where the server is designed to handle dynamic requests and business logic in real time.

But for the overwhelming majority of small businesses, a static site delivers a better experience for both the business owner and their customers.

Final Thoughts

Technology should fit the problem, not the other way around.

Sometimes the simplest architecture is also the best one.

By combining modern static site generators like Eleventy and Astro with a custom content management platform, I can deliver websites that are fast, secure, easy to maintain, and built to grow alongside a business.

That's why static sites are the foundation of nearly everything I build at Wasatch Bitworks.