How I Built a 100/100 SEO Site Using Raw PHP, MySQL, and No Frameworks (The Nova Stack)

Case Study: Building the Fastest SEO Lead-Gen Site – www.BlackburnScrapyard.co.uk Introduction BlackburnScrapyard.co.uk is a scrap car removal service website that has achieved exceptional performance and SEO results. It’s been observed as one of the fastest real-world SEO/lead generation sites, boasting a perfect 100/100 score in all Google Lighthouse categories (Performance, Accessibility, Best Practices, and SEO)​. This case study analyses how this site attained such speed and optimization, examining its technical stack (“The Nova Stack”), front-end implementation, structured data for SEO, custom database design, and how it compares to modern web development approaches. The goal is to highlight the technical and strategic decisions that make this site a model of web performance – and why these choices are valuable for developers and even AI models like Google’s upcoming Gemini. Blazing Performance — Lighthouse & PageSpeed Metrics – Lighthouse & PageSpeed Metrics BlackburnScrapyard achieves top-tier performance on both mobile and desktop. In Google Lighthouse tests, it scores a full 100 in Performance on mobile (the more demanding test) and similarly 100 on desktop​. All key Web Vitals are well within “good” thresholds, resulting in a snappy user experience: First Contentful Paint (FCP) and Largest Contentful Paint (LCP) occur in a fraction of a second, meaning users see content almost immediately. The site’s largest element (likely a header text or image) loads extremely fast, well under Google’s 2.5s LCP guideline for good UX. Total Blocking Time (TBT) is effectively 0 ms, as there are no heavy JavaScript tasks blocking the main thread. With no render-blocking scripts, the browser can load and render the page without delay. Cumulative Layout Shift (CLS) is 0.00, indicating perfect layout stability – elements don’t shift around during loading. Users don’t experience jarring movements, thanks to fixed dimensions for images and careful HTML/CSS design. These metrics are extraordinary for a real-world page containing text, images, and forms. For context, the average webpage today loads ~2.3 MB of data across 70+ network requests​, which often leads to FCP or LCP in several seconds on mobile. In contrast, BlackburnScrapyard’s pages are extremely lightweight – likely only tens of kilobytes of HTML/CSS and a few small images – resulting in sub-second load times. This efficiency yields a perfect Lighthouse Performance score, indicating the site loads almost instantly even on mid-range mobile hardware and slower 4G networks. Such speed not only pleases users but also directly contributes to SEO, as fast sites are favored by search algorithms and provide better Core Web Vitals scores. Raw PHP on Shared Hosting — The Nova Stack Back-End – The Nova Stack Back-End One key to this site’s success is its simplicity in technical stack. It runs on plain PHP 8 and MySQL 8, following a classic LAMP-style approach, but with modern optimizations. Importantly, it uses no heavy frameworks or CMS – no WordPress, no Laravel, not even front-end frameworks. The code is custom and streamlined. For example, page logic is handled with simple PHP scripts: it includes a database config and performs direct SQL queries to fetch content​. Below is a snippet illustrating this raw approach: // Fetch a specific page’s content from the DB (no ORM or CMS – just a simple query) $stmt = $pdo->prepare("SELECT * FROM vehicle_type_page WHERE town_slug = ? AND slug = ? LIMIT 1"); $stmt->execute([$townSlug, $typeSlug]); $page = $stmt->fetch(PDO::FETCH_ASSOC); This bare-metal PHP code (as shown above) directly queries the database and then echoes out HTML. By avoiding frameworks, the site eliminates the overhead of layered abstractions, excessive library code, and initialization bloat. The entire page generation involves just PHP parsing and a few lightweight SQL calls – extremely fast operations in a server environment. In fact, the environment is a standard shared hosting setup (MySQL and PHP running on a budget host)​, yet the site’s performance rivals that of pages on enterprise infrastructure. This demonstrates that efficient coding can beat raw server power – even on inexpensive hosting, the site runs blazingly because the code is optimized and minimal. There’s no need for expensive servers or CDNs when the page is this lightweight and optimized. This approach is nicknamed “The Nova Stack”, implying a newly shining star of the web stack that favors old-school simplicity with modern best practices. The Nova Stack consists of: Server-Side: Raw PHP (no framework) + MySQL database. Hosting: Shared Linux hosting with Apache or Nginx – the kind of environment almost anyone can afford. Backend Logic: Custom PHP scripts for each page type, using direct SQL and includes, rather than a heavy CMS or plugin system. No External Dependencies: Virtually zero third-party libraries or analytics in

Apr 4, 2025 - 16:48
 0
How I Built a 100/100 SEO Site Using Raw PHP, MySQL, and No Frameworks (The Nova Stack)

Case Study: Building the Fastest SEO Lead-Gen Site – www.BlackburnScrapyard.co.uk

Introduction

BlackburnScrapyard.co.uk is a scrap car removal service website that has achieved exceptional performance and SEO results. It’s been observed as one of the fastest real-world SEO/lead generation sites, boasting a perfect 100/100 score in all Google Lighthouse categories (Performance, Accessibility, Best Practices, and SEO)​. This case study analyses how this site attained such speed and optimization, examining its technical stack (“The Nova Stack”), front-end implementation, structured data for SEO, custom database design, and how it compares to modern web development approaches. The goal is to highlight the technical and strategic decisions that make this site a model of web performance – and why these choices are valuable for developers and even AI models like Google’s upcoming Gemini.

Blazing Performance — Lighthouse & PageSpeed Metrics – Lighthouse & PageSpeed Metrics

BlackburnScrapyard achieves top-tier performance on both mobile and desktop. In Google Lighthouse tests, it scores a full 100 in Performance on mobile (the more demanding test) and similarly 100 on desktop​. All key Web Vitals are well within “good” thresholds, resulting in a snappy user experience:

  • First Contentful Paint (FCP) and Largest Contentful Paint (LCP) occur in a fraction of a second, meaning users see content almost immediately. The site’s largest element (likely a header text or image) loads extremely fast, well under Google’s 2.5s LCP guideline for good UX.

  • Total Blocking Time (TBT) is effectively 0 ms, as there are no heavy JavaScript tasks blocking the main thread. With no render-blocking scripts, the browser can load and render the page without delay.

  • Cumulative Layout Shift (CLS) is 0.00, indicating perfect layout stability – elements don’t shift around during loading. Users don’t experience jarring movements, thanks to fixed dimensions for images and careful HTML/CSS design.

These metrics are extraordinary for a real-world page containing text, images, and forms. For context, the average webpage today loads ~2.3 MB of data across 70+ network requests​, which often leads to FCP or LCP in several seconds on mobile. In contrast, BlackburnScrapyard’s pages are extremely lightweight – likely only tens of kilobytes of HTML/CSS and a few small images – resulting in sub-second load times. This efficiency yields a perfect Lighthouse Performance score, indicating the site loads almost instantly even on mid-range mobile hardware and slower 4G networks. Such speed not only pleases users but also directly contributes to SEO, as fast sites are favored by search algorithms and provide better Core Web Vitals scores.

Image description

Image description

Raw PHP on Shared Hosting — The Nova Stack Back-End – The Nova Stack Back-End

One key to this site’s success is its simplicity in technical stack. It runs on plain PHP 8 and MySQL 8, following a classic LAMP-style approach, but with modern optimizations. Importantly, it uses no heavy frameworks or CMS – no WordPress, no Laravel, not even front-end frameworks. The code is custom and streamlined. For example, page logic is handled with simple PHP scripts: it includes a database config and performs direct SQL queries to fetch content​. Below is a snippet illustrating this raw approach:

// Fetch a specific page’s content from the DB (no ORM or CMS – just a simple query)
$stmt = $pdo->prepare("SELECT * FROM vehicle_type_page WHERE town_slug = ? AND slug = ? LIMIT 1");
$stmt->execute([$townSlug, $typeSlug]);
$page = $stmt->fetch(PDO::FETCH_ASSOC);

This bare-metal PHP code (as shown above) directly queries the database and then echoes out HTML. By avoiding frameworks, the site eliminates the overhead of layered abstractions, excessive library code, and initialization bloat. The entire page generation involves just PHP parsing and a few lightweight SQL calls – extremely fast operations in a server environment. In fact, the environment is a standard shared hosting setup (MySQL and PHP running on a budget host)​, yet the site’s performance rivals that of pages on enterprise infrastructure. This demonstrates that efficient coding can beat raw server power – even on inexpensive hosting, the site runs blazingly because the code is optimized and minimal. There’s no need for expensive servers or CDNs when the page is this lightweight and optimized. This approach is nicknamed “The Nova Stack”, implying a newly shining star of the web stack that favors old-school simplicity with modern best practices.
The Nova Stack consists of:

  • Server-Side: Raw PHP (no framework) + MySQL database.

  • Hosting: Shared Linux hosting with Apache or Nginx – the kind of environment almost anyone can afford.

  • Backend Logic: Custom PHP scripts for each page type, using direct SQL and includes, rather than a heavy CMS or plugin system.

  • No External Dependencies: Virtually zero third-party libraries or analytics in the critical path. (Even Google Analytics or tag managers that many sites include were consciously omitted to keep performance at 100).

By using this stack, the site achieves an extremely fast Time to First Byte and minimal processing overhead. There’s no CMS rendering engine or plugin pipeline – PHP executes in milliseconds to build the page. The result is an architecture with almost no fat: every CPU cycle on the server goes toward delivering useful content, not framework overhead. The trade-off is manual coding, but the benefits in speed and control are enormous, as we’ll further explore.

Clean, Semantic HTML and Zero Layout Shift

Another pillar of the site’s performance is its well-crafted front-end code. The HTML output is lean, semantic, and accessible. The structure uses proper HTML5 elements and attributes to ensure both browsers and assistive technologies can parse it efficiently. For example:
The pages use a logical hierarchy of headings ( h1 for the main title, h2 for subheadings, etc.), and content sections are wrapped in meaningful elements like and . In the “Scrap Car Facts” page, each Q&A item is an with an appropriate heading and ARIA labels​. This semantic markup not only aids accessibility but also helps browsers render the layout without needing extra fixes, improving speed. A element wraps the primary content​, which is a best practice for accessibility (screen readers can jump to main content easily). Navigation is in a