This site: no database, no admin login, very little to attack
The site you are reading is its own case study. Plain pages built ahead of time, a strict security policy, two languages, and a contact form that stores nothing.
- Google PageSpeed, all four scores
- 100
- Databases and admin logins
- 0
- Third-party scripts on the content pages
- 0
- Home page, fonts included
- ~130 KB
The problem
A site that offers speed and security has to show both. Most small-business sites run on a system with a login page, a database and a dozen plugins. That is the right trade when several people edit the site every week. For a site that one person edits, it is a lot of moving parts to keep patched, and every one of them is something an attacker can try.
What I did
- Pages built ahead of time. Every page is plain HTML, generated when I publish and served from Cloudflare’s network. There is no database to break into and no login page to find.
- A strict security policy. The browser is told to run only the scripts and styles the build produced, each one identified by its fingerprint. Anything injected into a page is refused.
- Nothing borrowed from other servers. The fonts are served from this site, and the content pages load no script from anyone else. The one exception is the contact page, which allows Cloudflare’s check that a person, not a bot, is sending the form.
- A form that stores nothing. The free site check form goes to one small function. It accepts a request only from this site, verifies the check on the server, validates each field, emails me the request and keeps no copy. Its keys are stored as encrypted secrets, never in the code.
- Two languages, one structure. Every page exists in English and Spanish at its own translated address, and prices follow the language: US dollars in English, quetzales in Spanish.
- Motion without weight. The drawing on the home page is SVG and CSS, and page transitions are the browser’s own. Everything is readable with JavaScript switched off, and the animation stays still for visitors who ask their device for less motion.
The result
Google PageSpeed gives it 100 out of 100 on all four scores: performance, accessibility, best practices and SEO. The home page weighs about 130 KB with its three fonts included, less than a single photo on most sites. There is nothing to update on a schedule, no plugin waiting for a security release, and nothing on the server for an attacker to log in to.
What this means for you
Your site may need to be edited by your own team, and then a system like WordPress is the right choice. The same thinking still applies: fewer moving parts, a strict security policy, a form that really arrives, and pages that load fast on a phone. That is how I build websites, and it is what the free site check looks for on yours.