Static site and CDN vs WordPress: why our website has no server

For years a company website meant one rented server running WordPress. Our own site has no server at all: 166 pages in 9 languages, served from Cloudflare's network. Here is what changed, what it costs, and when WordPress is still the better choice.
How the classic setup works
A typical WordPress site runs on one rented server: PHP, a MySQL database, a theme and a dozen plugins. When someone opens a page, the server runs PHP, asks the database for content, assembles the HTML and only then sends it back. That happens again for every visitor, unless a caching plugin steps in.
It works, but every part needs care. WordPress, the theme and each plugin get updates, and most WordPress break-ins go through a plugin that was not updated in time. The admin login is public and gets guessed at all day. A traffic spike, a slow host or a database problem takes the whole site down.
What changes with a static site on a CDN
A static site is built once, in advance. A generator turns content and templates into finished HTML files, and those files are uploaded to a CDN: a network of data centres in hundreds of cities. A visitor gets a ready file from the location nearest to them. There is no PHP to run and no database to ask.
- Speed: pages arrive from a nearby city and need no computing, so they load fast everywhere, including on phones.
- Security: there is no admin panel to guess, no plugins to exploit and no database to leak. Updates to the site are a new build, not a patch on a live server.
- Cost: for a typical company site, a free or low-cost CDN plan covers the traffic. There is no server to rent, monitor or back up.
- Reliability: a CDN spreads load across its network, so a spike in traffic is not a problem.
- Search: fast pages, clean HTML, a sitemap and correct language tags help Google and Bing understand the site, and you can see the effect in Search Console.
But what about forms and other dynamic parts?
Static does not mean the site cannot do anything. A contact form, a newsletter sign-up or a price calculator runs as a small function at the edge, next to the static files. On our site the contact form is one such function, with spam protection and a small database for messages. Everything else is plain files.
Content editing is the other common question. Text can live in files edited by the team, or in a headless CMS: an editing panel that stores content and triggers a new build when someone presses publish. Editors get a familiar form, and the public site stays static.
When WordPress is still the right choice
- Many non-technical people publish every day and need a full editing panel with roles and drafts.
- The site depends on plugins with no simple equivalent, such as a complex shop or membership system.
- The team already knows WordPress well and the site works: a well-maintained WordPress site is fine.
Many company sites do not fit these cases: a few dozen pages, a contact form, a blog updated once a month. For those, a server and a database are mostly overhead.
How a move from WordPress usually goes
- [ ] List every page and its address, including blog posts
- [ ] Export the content and images
- [ ] Rebuild the templates as a static site, usually faster and lighter than the old theme
- [ ] Keep the old addresses, or redirect each one to its new address (301)
- [ ] Move forms to small edge functions with spam protection
- [ ] Add a sitemap and submit it in Google Search Console and Bing Webmaster Tools
- [ ] Measure speed and search traffic before and after
How we can help
We build fast company websites and web apps on this model, and move existing WordPress sites without losing their addresses or search positions. If your site is slow, keeps needing updates or worries you after every security alert, write to us.
Originally published on it-nørd.