Zero-Dependency WordPress Engineering: How We Hit 99–100 PageSpeed Scores Without Page Builders
By Ryan, Senior WordPress Developer5 min read
Most slow WordPress sites fail Core Web Vitals because bloated page builders load massive CSS and JavaScript bundles on every single page.
Going zero-dependency means writing lean, native WordPress blocks that only load assets when they are actually rendered on the screen.
Using this exact architecture, Super Theme hits 99, 100, 100, and 100 on Google PageSpeed Insights right out of the box.
If you have ever run a client’s WordPress site through Google PageSpeed Insights and watched the performance score tank into the red, you already know who the usual suspect is. It is almost always a heavy page builder stacked on top of a bloated multipurpose theme, held together by fifteen different plugins. You spend hours trying to defer scripts, minify stylesheets, and patch layout shifts just to scrape by with a passing grade. After building custom websites for over twenty years, I got tired of fighting the tools I was supposed to be building with. That frustration is why I shifted completely to zero-dependency engineering. It is also the exact foundation behind Super Theme, which routinely hits a 99, 100, 100, and 100 score on Google PageSpeed Insights without needing a single caching or optimization plugin bolted onto it.
Why page builders ruin Core Web Vitals
Visual page builders are designed to let non-coders drag and drop anything anywhere. To make that possible, they wrap simple text and images in dozens of nested div containers. That creates an oversized DOM tree that forces the browser to work overtime just to calculate layout geometry. Worse yet, most builders load their entire asset library globally. Even if a landing page only has a headline, a paragraph, and a button, the browser still downloads stylesheets for sliders, tabs, animations, and icon packs that are not even on the page. That directly kills your Largest Contentful Paint (LCP) and Interaction to Next Paint (INP) before a visitor even scrolls.
What zero-dependency engineering actually looks like
Zero-dependency development does not mean building barebones, ugly websites. It means stripping away third-party frameworks, heavy JavaScript libraries, and unnecessary wrappers, and letting modern PHP, native WordPress block APIs, and clean CSS do the heavy lifting.
Per-block asset loading. Stylesheets are registered per block. If a page does not use the FAQ accordion or the before-and-after slider, zero bytes of CSS or JS for those features are sent to the browser.
Native browser APIs over JS libraries. Instead of importing jQuery or a heavy carousel script, interactive elements use native HTML5 inputs, CSS scroll-snap, and lightweight vanilla JavaScript.
Flat, semantic HTML output. Keeping the DOM clean reduces memory usage on mobile devices and eliminates Cumulative Layout Shift (CLS) caused by late-loading scripts resizing containers.
Zero external font requests by default. Using system font stacks or selectively loading only the exact font weights needed prevents render-blocking network calls.
Putting it to the test with Super Theme
Theory is great, but real-world numbers are what matter when clients are paying for leads and search rankings. When I engineered Super Theme, the strict rule was simple: zero external dependencies and zero plugin bloat. Instead of relying on third-party add-ons for lead forms, JSON-LD schema, or page caching, those jobs are handled natively inside the theme’s PHP architecture. When tested on Google PageSpeed Insights, the live site hits 99 for Performance and 100 across Accessibility, Best Practices, and SEO.
Performance Metric
Typical Page Builder Stack
Zero-Dependency Custom Block Theme
PageSpeed Insights Score
45 to 75 (requires heavy caching plugins)
99 Performance / 100 Accessibility, Best Practices, SEO
DOM Elements per Page
1,500 to 3,000+ nested nodes
Under 400 clean, semantic nodes
CSS and JS Payload
500KB to 1.5MB+ loaded globally
Under 30KB total, loaded strictly per block
Third-Party Dependencies
jQuery, FontAwesome, external form scripts
None (vanilla JS and native browser features)
Maintenance Overhead
Constant plugin conflicts and breaking updates
Single self-contained codebase
How to build ultra-fast custom WordPress blocks
If you are building custom themes or transitioning away from page builders, shifting to native Gutenberg blocks is the cleanest path forward. Clients still get a visual editing experience, while you keep total control over the markup and assets.
1. Register blocks via block.json
Always define your custom blocks using a block.json metadata file. WordPress core automatically handles conditional asset loading when you declare your style and viewScript properties there, ensuring frontend scripts only enqueue when the block is present in the post content.
2. Use server-side rendering for dynamic layouts
For blocks that pull live data, business details, or structured FAQ schema, use PHP render callbacks instead of saving static HTML in the database. This keeps your markup flexible so you can update HTML structure or schema rules across the entire site without triggering block validation errors in the editor.
3. Inline critical CSS and defer the rest
Small block stylesheets (under 2KB) can be inlined directly into the document head by WordPress core, eliminating extra HTTP round-trips. Combine that with native loading="eager" and fetchpriority="high" on your hero image, and your Largest Contentful Paint drops well under one second.
Why speed is a business advantage, not just a vanity metric
A 99 or 100 PageSpeed score is not just about bragging rights on developer forums. Faster pages rank better in local search, lower bounce rates on mobile connections, and convert more paid ad traffic into actual phone calls and form submissions. More importantly, a zero-dependency codebase respects your time. When a WordPress core update rolls out, you are not crossing your fingers hoping twelve different plugin authors pushed compatible patches that morning. Everything lives in one predictable, rock-solid theme.
Common questions about zero-dependency WordPress
Can clients still edit pages easily without a page builder?Yes. Custom blocks use the native WordPress block editor, so clients can click, type, swap photos, and rearrange sections visually without having access to settings that break the layout.Do I still need a caching plugin with a zero-dependency theme?A clean theme eliminates 90% of frontend bottlenecks on its own. Adding lightweight server-level page caching or built-in HTML minification like Super Theme includes simply pushes response times even closer to instant.Is it harder to build custom blocks from scratch?Once you have a clean starter structure using block.json and standard PHP render templates, building a custom block takes roughly the same time as styling a complex page builder section, with none of the long-term technical debt.What happens to Core Web Vitals when I add analytics or tracking scripts?Even the fastest theme can be slowed down by heavy third-party tracking tags. Delaying non-essential scripts until user interaction ensures your 99 to 100 PageSpeed scores hold steady in production.
Stripping out dependencies takes discipline, especially when plugins promise quick shortcuts. Once you experience how fast, stable, and stress-free a clean WordPress build runs, going back to bloated page builders stops being an option.