Why We Ship a Single HTML File Instead of React or WordPress
A technical note from the DocBulk engineering team.
Most marketing page vendors sell speed as a feature. We sell it as a consequence of architecture. This article explains the engineering decisions behind the DocBulk stack—why we build every marketing page as a single static HTML file served from Cloudflare’s edge, what we deliberately gave up, and where this approach is the wrong tool for the job.
If you are evaluating us as a vendor, read this before you sign anything. We would rather lose a project to a clear mismatch than win one that we cannot serve well.
The Requirement Is Narrow, and That Is the Point A marketing page has exactly one job: turn an ad click into a lead or a payment. It is not a website. It does not need a content pipeline, a user account system, a search index, or a theme ecosystem. It needs to load before the visitor loses patience, render correctly on a cheap Android phone on a slow mobile network, and route the resulting lead or payment somewhere reliable.
Every engineering decision below follows from that requirement. When the requirement is narrow, the correct architecture is narrow too.
Decision 1: A Single HTML File, Not a React Application A React or Next.js application ships a JavaScript bundle that must be downloaded, parsed, and executed before the page becomes interactive. On a fast desktop connection this is invisible. On a mid-range mobile device over 4G, a typical marketing SPA bundle costs one to three seconds before the first meaningful paint—and that is before any third-party scripts (analytics, chat widgets, ad pixels) are added.
We ship one HTML file with inline CSS and minimal, non-blocking JavaScript. The browser parses the HTML and paints. There is no hydration step, no client-side router, no framework runtime. The page is fully rendered when the first byte stream arrives.
This is not a rejection of React. React is the right tool for applications with complex client-side state. A landing page has almost no state—it has content and a form. Shipping a framework runtime to render static content is a cost with no corresponding benefit.
Trade-off we accept: We cannot build interactive product configurators or dashboards on this stack. If a client needs that, we tell them to use a different vendor.
Decision 2: Static Files, No Database, No Admin Panel A static file has no runtime dependencies. It cannot execute injected SQL because there is no database. It cannot be compromised through a vulnerable plugin because there are no plugins. It cannot be escalated through a misconfigured admin panel because there is no admin panel.
This matters more than most buyers realize. WordPress security data shows that 91% of new vulnerabilities appear in plugins, with 11,334 new vulnerabilities added in 2025 and a median exploitation window of about 5 hours after disclosure. Every installed plugin is a maintained dependency, and every maintained dependency is a standing attack surface.
A static HTML file has an attack surface of essentially zero. There is no login form to brute-force, no file upload endpoint to abuse, no PHP process to exploit, no session to hijack. The only way to “hack” it is to compromise the hosting provider or the domain registrar—infrastructure-level attacks that affect every architecture equally.
Trade-off we accept: Content changes require a rebuild and redeploy. There is no “log in and edit” interface. For clients who change copy weekly, we either provide a fast turnaround process or recommend a CMS—we do not pretend the static model fits every content cadence.
Decision 3: Cloudflare Edge, $0/Month Hosting The page is served from Cloudflare’s global edge network: 300+ locations, static asset caching, free SSL, and a free tier that covers unlimited bandwidth and unlimited static requests, with per-file limits (25MB per file, 20,000 files per deployment) that a landing page never approaches.
This is not a promotional rate. It is the permanent free tier of a mature CDN. The engineering consequence is that a visitor in Frankfurt, São Paulo, or Lagos receives the page from a nearby edge node, not from a single origin server on another continent. Measured global load time across our delivered pages averages 0.4 seconds.
A single VPS origin would introduce a round trip that the edge network eliminates. For a page this small, the CDN is not an optimization—it is the correct serving model.
Trade-off we accept: We depend on a third-party CDN. Cloudflare outages are rare but not nonexistent. We disclose this rather than pretend the dependency does not exist.
Decision 4: What We Pre-Wire, and Why Every page ships with analytics and tracking connected before launch, not as a post-launch add-on:
Google Analytics and Facebook Pixel (and TikTok Pixel where relevant) are embedded with the client’s own IDs. Lead and click events are configured to fire on the actual conversion action.
Form handling routes submissions to the client’s own email inbox, WhatsApp, or webhook endpoint. No third-party platform holds the lead data.
PayPal checkout is embedded as a hosted button where the client collects deposits or payments. The client’s PayPal account receives the funds directly; we never sit in the payment path.
The design principle is consistent across all four: the client owns the data, the account, and the endpoint. We build and host the page; we do not intermediate the business relationship.
Trade-off we accept: We do not provide a proprietary analytics dashboard. Clients read their own GA and Pixel data in the tools they already use. If a client wants a unified reporting product, we are not that vendor.
What This Architecture Is Not Good For We would rather state this plainly than have it discovered mid-project:
Not for content-heavy sites. If you need a blog, a resource library, or frequent editorial publishing, use a CMS. Static HTML is the wrong tool for a content cadence.
Not for complex e-commerce. If you need a multi-item cart, inventory sync, discount logic, and order management, use Shopify or a proper commerce platform. Our PayPal button is for deposits and small product counts (1–5 items), not for running a full store.
Not for authenticated applications. No user accounts, no dashboards, no member areas. That is application territory, and it needs a different stack.
Not for teams without a content process. If nobody owns copy updates and nobody can approve a redeploy, a static page will drift stale. The architecture is fast, but it is not self-maintaining in the editorial sense.
A narrow tool applied to a matching problem is an advantage. A narrow tool applied to a mismatched problem is a liability. We would rather say so upfront.
Why We Can Speak to This Honestly DocBulk is built and operated by the engineering and marketing team at MBORMC Factory (曼伯欧罗门窗), a Foshan-based manufacturer of custom mosquito screens and folding doors that ships to 40+ countries. We run our own global Google and Facebook campaigns on this stack. It is not a product we resell without using it.
Our own operating numbers, which we publish rather than hide:
850+ pages delivered
0.4 seconds average global load time
12,000+ leads captured
$0/month hosting cost on the static tier
The architecture decisions above are the ones we made for our own factory’s marketing operation. We are describing our own production system, not a theoretical one.
If You Want to Verify Any of This Every claim in this article is testable:
Load any page we have delivered and check the waterfall in your browser’s dev tools. Look for the absence of framework bundles and third-party blocking scripts.
Inspect the response headers and confirm the Cloudflare edge serving model.
Check the public WordPress vulnerability data yourself—the plugin concentration and exploitation-window figures are published by security researchers, not by us.
Ask us for the source file of a delivered page. It is a single HTML file. You can read all of it.
We would rather be evaluated on inspectable engineering than on marketing language. If the architecture fits your requirement, talk to our engineer. If it does not, we will tell you that too.
.png)
.png)
评论
发表评论