Technical Transparency

How logicraft.cloud Works

I eat my own dog food. This site is the proof-of-concept for everything I recommend to B2B clients.

VPS + CloudPanel

This site runs on a single VPS managed by CloudPanel, a modern server control panel built for PHP applications. CloudPanel provides Nginx with FastCGI cache, PHP-FPM with OPCache, and Let's Encrypt SSL — all configured for maximum throughput with no cPanel bloat or Apache overhead.

Web Server

Nginx + FastCGI Cache

PHP Handler

PHP-FPM 8.5 + OPCache

Zero-Downtime Deployments

Every push to main triggers a GitHub Actions workflow that automates the release:

  1. Checks out the repository and runs composer install --no-dev
  2. Builds production frontend assets with npm ci && npm run build
  3. Connects via SSH to the VPS and pulls to a release directory
  4. Runs php artisan down (for 0.5s max)
  5. Symlinks the new release and warms the caches

Flat-File CMS: 0ms Database Latency

Our case studies are stored as Markdown files with YAML front matter, parsed by spatie/yaml-front-matter. Each file is cached in Laravel's file cache for 1 hour.

resources/content/engineering/

├── 01-zero-downtime-vps-migration.md

├── 02-programmatic-seo-landing-pages.md

└── 03-core-web-vitals-100-lighthouse.md

Why not MySQL for content? Database queries are the primary bottleneck in typical content systems. By serving content directly from cached files, database latency drops to 0ms for reads.

Performance: Targeting 100/100 Core Web Vitals

Frontend Optimizations

  • Tailwind CSS with purged unused styles
  • Vite with code splitting + tree shaking
  • Plus Jakarta Sans font via preload
  • Alpine.js (15KB) instead of heavy frameworks

Backend Optimizations

  • Laravel route + config caching
  • 0ms DB read latency flat-file CMS
  • Nginx FastCGI full-page caching
  • Brotli compression enabled