■ WordPress Performance Optimisation · Core Web Vitals
/var/log/nginx/access.log · anonymised
CASE 2024
# normal traffic 2024-XX 03:14:22 "GET /boiler-cover/ HTTP/2" 200 28102 "..." 0.34 2024-XX 03:14:22 "GET /assets/main.css HTTP/2" 200 14201 "..." 0.02 # attack starts — PHP-FPM exhausted 2024-XX 03:18:01 "GET /boiler-cover/?v=8a3f HTTP/2" 504 - "..." 30.00 2024-XX 03:18:01 "GET /boiler-cover/?v=2c7e HTTP/2" 504 - "..." 30.00 2024-XX 03:18:02 "POST /wp-load.php?x=4d HTTP/2" 200 1 "..." 0.41 <-- backdoor poll 2024-XX 03:18:02 "POST /v1/wp-load.php?z=a9 HTTP/2" 200 1 "..." 0.39
Two hours into the diagnostic: not a caching problem. ASN-level Cloudflare block + backdoor remediation restored service.

■ Diagnostic — talk to the lead architect
Ritesh Agarwal · Lead Architect, Appycodes · LinkedIn
■ Before / After
deferred non-critical JS · WebP pipeline · ISR-equiv cache · edge revalidation
pool tuning · fastcgi_read_timeout reduced · Cloudflare absorbing bot traffic
object cache (Redis) · removed un-indexed plugin queries · transient cleanup
plugin compatibility pass · deprecation review · staged rollout
■ Things plugins quietly do to your performance
01
Conflicts with other plugins. The fix is keeping migration / cron scripts WP-free.
02
Symptom: duplicate card fields. Root cause: wp_loaded patch missing.
03
Linear scaling with post count. Visible only at 10K+ posts. Fix: EXPLAIN, add indexes.
04
Costs ~50ms per uncached request. Object cache + selective wrapper functions.
05
AJAX heartbeat killing TTFB on non-cart pages. Conditional load.
06
MBs of option_value autoloaded on every request. Audit + remove.
■ What you get
01
nginx logs, PHP-FPM pool tuning, slow query log, MySQL EXPLAIN analysis.
02
Plugin and theme compatibility work that comes with them.
03
Object cache (Redis / Memcached), page cache (WP Rocket / LiteSpeed), Cloudflare edge rules.
04
Identifying which plugins are quietly eating performance. Replace, remove, or fix.
05
Autoload bloat, transient cleanup, orphaned postmeta, missing indexes.
06
LCP under 2s, CLS under 0.1, INP under 200ms. Inside WordPress, not by abandoning it.
07
Cart fragments, AJAX bloat, checkout query reduction, supplier-feed caching.
▼ The Performance Stack Audit
Eleven layers of a slow WordPress page load. Typical millisecond budget on the left; where we usually find the problem on the right.
Cloudflare resolves fast; legacy DNS providers don't.
HTTP/3 + 0-RTT on Cloudflare; older origins are slower.
Where we want most requests to terminate.
Wrong cache keys land here.
Healthy. Slow logs = upstream PHP-FPM problem.
0 = healthy. Seconds = pool exhausted.
Where most fixable time lives.
EXPLAIN + indexes. Un-indexed queries scale linearly.
Gzip / brotli compression.
Image pipeline, defer non-critical JS, font display swap.
CLS fixes, hydration cost on heavy themes.
■ Good fit if
■ Probably not a fit
Pair with maintenance & support for ongoing patching, Cloudflare edge engineering for the cache rules, security work when the slowness has a security cause, and technical SEO for the Core Web Vitals side that affects rankings.
■ Tools we use
■ Diagnose first
■ Other services
Explore the rest of what we build.
MVP to production builds, multi-tenant, billing, AI features.
Learn moreiOS + Android in one codebase. Push, offline, OTA updates.
Learn moreConvert your Lovable / Claude / Bolt web app to React Native or Flutter — backend reused.
Learn morePrerender, schema, Core Web Vitals — engineering-led SEO.
Learn moreB2B marketplaces, membership sites, headless WordPress.
Learn moreCustom themes, migration to Shopify, Shopify apps, supplier-feed automation.
Learn moreB2B wholesale, high-SKU catalogues, WooCommerce Subscriptions, Shopify-to-Woo migrations.
Learn morePost-launch stability, security, monthly improvements.
Learn moreTake an AI-built prototype to a production-ready product.
Learn moreConvert AI-built web prototypes into native mobile apps.
Learn moreSubmit, configure and optimise for App Store + Play Store.
Learn moreModernise legacy systems with zero-downtime migrations.
Learn moreEngineering capacity for agencies, under your brand.
Learn moreFrom idea to live product — design, build, launch, growth.
Learn moreCustom REST/GraphQL APIs and third-party integrations.
Learn moreMulti-tenant AI SaaS with subscriptions and admin dashboards.
Learn moreMarketplaces with credit, KYC, and trust infrastructure baked in.
Learn moreCustomised Moodle deployments and bespoke Moodle mobile apps.
Learn moreSubscription recovery, dunning, migrations, combinatorial billing matrices.
Learn moreMagento, WordPress, BigCommerce → Shopify. Redirect-engineering first.
Learn moreForensic incident response — Magecart, backdoors, DDoS, GDPR Art. 33.
Learn moreFour production Laravel platforms. ERPs, contracts, tendering.
Learn moreWebhooks, metering, proration, dunning, multi-currency, reconciliation.
Learn moreWorkers, R2, WAF, Bulk Redirects. The full surface, not just the orange cloud.
Learn moreTender automation, contract operations, compliance calendars, calculators.
Learn moreRLS, multi-role auth, production-hardening Lovable / Bolt / v0 prototypes.
Learn moreWP + Next.js with preview, ISR, auth handoff, media pipeline, search.
Learn moreSchema-first builds, multilingual setups, migrations from WP / Contentful / Strapi.
Learn moreFour production Vue platforms. Vue + Laravel as the default pairing.
Learn moreSurgical plugin work — namespaced, idempotent, version-controlled. Not functions.php.
Learn moreKB + forum + adjacent surfaces. Search, version-aware routing, role-based visibility.
Learn moreMulti-day festivals, white-label venue groups, offline-capable door-staff apps.
Learn moreProduction RAG with chunking, hybrid retrieval, reranking, grounding, eval.
Learn moreMake.com, n8n, Zapier, and custom Node workers — chosen by volume.
Learn moreCalculator- and location-driven SEO surfaces with real data and SSR.
Learn more