Skip to content
← All Posts

Your Website Doesn't Need a Database. It Needs a Deploy Button.

NM
Nicholas Manderfield
web developmentWordPressstatic sitesinfrastructure

For about fifteen years, "building a website" meant one thing: install WordPress on a web server and start adding plugins. It worked. It was the best option available. And it's now one of the slowest, most fragile ways to put a website on the internet.

If you're currently running a WordPress site — or about to pay someone to build you one — here's what's actually happening behind the scenes every time someone visits your site, and why the rest of the industry has quietly moved on.

What's actually running your WordPress site

WordPress runs on something called a LAMP stack. That's an acronym for four pieces of technology that all have to work together to show someone your homepage:

  • Linux — the operating system running on the server (think of it as the computer your website lives on)
  • Apache — the software that receives visitors and figures out what to show them
  • MySQL — the database where all your content, settings, menus, and plugin configurations are stored
  • PHP — the programming language that WordPress is written in, which builds your pages on the fly

Here's the part most people don't realize: when someone visits your website, the page they see doesn't already exist. It gets assembled from scratch every single time. Here's what happens — on every page view:

  1. A visitor clicks a link to your site
  2. The server receives the request
  3. WordPress loads up and starts querying the database — "What's the content for this page? What's in the sidebar? What are the menu items? What do the plugins need?"
  4. The database sends back all that information
  5. WordPress assembles everything into the HTML page the visitor actually sees
  6. The server sends it to their browser

That's a dozen database lookups and a full processing cycle — for your About page. A page that hasn't changed in six months is being rebuilt from parts every time someone looks at it. It's like a restaurant that takes apart every dish after it's served and reassembles it from ingredients for the next customer, even though it's the same meal.

The caching band-aid

The WordPress community's answer to this has always been caching — essentially, saving a copy of the assembled page so the server doesn't have to rebuild it every time. You've probably seen the plugins: WP Super Cache, W3 Total Cache, or whatever your hosting provider bundles in.

The idea is simple: generate the page once, save a copy, serve the copy to the next visitor. Which raises an obvious question: if the goal is to serve a pre-built page... why not just start with a pre-built page?

Caching in WordPress is a constant juggling act. You need to clear the cache when content changes. You need to make sure the cache doesn't serve outdated content. You need to figure out why one page is loading in 8 seconds because a plugin is bypassing the cache. You need different cache rules for logged-in users versus everyone else. It's an entire maintenance discipline built around compensating for a slow architecture — like putting a turbocharger on a lawnmower engine instead of just getting a faster engine.

The plugin situation

WordPress has over 60,000 plugins. That sounds like a strength. In practice, it's one of its biggest weaknesses.

Every plugin is someone else's code running inside your website. Every plugin can slow things down, create security holes, and conflict with other plugins. A typical WordPress site runs 15 to 30 plugins — for contact forms, SEO, analytics, security, backups, image optimization, page builders, and a dozen other things.

Here's the problem: they all load on every page. Your contact form plugin loads its code on your homepage, where there's no form. Your SEO plugin runs on pages that don't need it. Your backup plugin, your security plugin, your analytics plugin — all firing, all adding weight, all making the site a little slower.

The result is predictable: a site that loaded in 2 seconds when it launched is loading in 5 or 6 seconds a year later, and nobody can tell you which plugin is the problem without turning them off one at a time to find out. It's like trying to figure out which appliance is tripping the breaker by unplugging them one by one.

The server babysitting

Running a WordPress site means keeping a server alive. Whether it's shared hosting, a VPS (your own virtual server), or a dedicated machine — somebody has to manage it:

  • Disk space fills up from database logs and backups
  • Memory gets eaten by traffic spikes and background processes
  • The operating system, web server, database, and PHP all need separate security updates
  • SSL certificates (the thing that makes your site show the padlock icon) need managing
  • Traffic spikes can overwhelm the server and take the site offline
  • Backups need to run, and someone needs to verify they actually work
  • Brute-force login attempts and malware need monitoring

That's not website management. That's IT infrastructure. Most businesses either pay a premium for managed hosting that handles some of this, or they ignore it until the site gets hacked or goes down — whichever comes first.

How modern sites work instead

A static site generator — tools like Astro (what our own site runs on), Hugo, or Next.js — takes a completely different approach. Instead of building pages when visitors request them, it builds every page in advance:

  1. Your content lives in a headless CMS (a content management system that's separate from the website itself — you still get an admin panel to edit content, it just isn't welded to the site's code)
  2. When you publish a change, a build process runs automatically
  3. That process pulls all your content, generates every page as a plain HTML file, and packages everything up
  4. The package gets deployed to a CDN — a global network of servers distributed around the world
  5. When someone visits your site, the server closest to them hands over a pre-built file. No database query. No code running. Just a file, delivered.

Think of it this way: WordPress is a restaurant that cooks every order from scratch, even if it's the same dish. A static site is a vending machine stocked with perfectly prepared meals — instant, consistent, and it never burns anything.

What "deploying" looks like now

In the WordPress world, making changes to your site meant uploading files via FTP (a file transfer tool from the 90s that somehow survived), or clicking "Update" in the admin panel and hoping nothing broke. If something went wrong, the fix was restoring a backup — assuming you had one and it worked.

The modern workflow:

  1. All your site's code lives in a repository on GitHub — think of it as a version-controlled folder where every change is tracked
  2. Make a change, push it to the repository
  3. Your hosting platform (Vercel, Netlify, Cloudflare Pages) automatically detects the change, rebuilds the site, and deploys it globally
  4. If something breaks, roll back to the previous version with one click — instantly, because the old files are still there
  5. You can preview changes on a test URL before they go live

There's no server to log into. No database to worry about. No cache to clear. The whole process is: make a change, the site rebuilds, the new version is live worldwide in under a minute. It's like the difference between manually copying files to a USB drive and dropping a file into Google Drive — one is an operation, the other just happens.

The comparison

WordPress / LAMPStatic Site (Astro, Hugo, Next.js)
Page loadBuilt from database on every visit (200-800ms uncached)Pre-built file from nearest server (10-50ms)
CachingRequired and complex — another thing to manage and debugNot needed — every page is already a finished file
DatabaseRunning 24/7, queried on every page viewOnly used during the build process (or not at all)
Plugins15-30 plugins, each adding load time and security riskDependencies handled at build time — nothing extra runs in production
SecurityPHP, MySQL, WordPress, every plugin, and the login page are all attack targetsStatic HTML files — there's nothing to hack
Server managementOperating system, web server, database, and PHP all need patching and monitoringNo server to manage — CDN handles everything
Traffic spikesServer gets overwhelmed, site slows down or goes offlineCDN scales automatically across hundreds of servers worldwide
Making changesFTP upload or admin panel update, hope for the bestPush to GitHub → automatic build → live globally in under a minute
Rolling back a mistakeRestore a backup (10-30 min of downtime, if the backup works)One-click revert, zero downtime, takes seconds
UptimeDepends on your server, your host, your database, your PHP config99.99% — distributed infrastructure with automatic failover
Speed (time to first byte)500ms-2s depending on hosting and cachingUnder 50ms from the nearest edge server
Content updatesEdit in WordPress, changes are live instantlyEdit in CMS, site rebuilds, live in 30-60 seconds

The one honest trade-off

Here's the one thing WordPress does better: instant content updates. You edit a page, hit publish, it's live. With a static site, a content change triggers a rebuild that typically takes 30 to 60 seconds.

That's the trade-off. One minute.

In exchange, you get a site that loads 10-20x faster, doesn't go down when traffic spikes, has virtually no security vulnerabilities, requires zero server management, deploys globally in under a minute, and can be rolled back instantly if anything goes wrong.

For most businesses, waiting 60 seconds for an update to go live isn't a real limitation. But having your site load in 400 milliseconds instead of 4 seconds? That affects every visitor, every time. And Google notices too — page speed is a direct ranking factor.

This shift happened fast

Five years ago, most businesses didn't have a practical alternative to WordPress. The tools were immature, the hosting options were limited, and you needed a developer who understood this new approach.

Today, you can have a static site built on a modern framework, connected to a headless CMS with a clean editing interface, deployed globally on enterprise-grade infrastructure — and it takes less time to set up than configuring WordPress plugins properly.

WordPress still powers a massive chunk of the internet. But it's running on momentum, not merit. The architecture was brilliant for its time. In 2026, it's a server-dependent, database-bound, plugin-bloated platform that needs three layers of caching and a managed hosting plan to compete with a flat HTML file served from a CDN.

The sites that load fastest, stay up longest, and scale without breaking are the ones that skipped the database, skipped the server, and deployed static files to a global network.

That's not a hot take. It already happened. The only question is whether your site has caught up yet.