Web performance consultant for Laravel
Optimize web performance on Laravel applications
Laravel ships fast, and fast shipping opens the door to Eloquent N+1, unindexed queries, synchronous jobs and misconfigured opcache. I work on the Laravel backend to drop TTFB and stabilize Core Web Vitals.
They trust me
Laravel symptoms calling for an audit
Poorly framed Laravel applications show specific symptoms that backend diagnosis exposes within hours.
🔁 TTFB climbing linearly with data volume
Eloquent N+1 pattern: the page loops on N entities and queries their relations one by one. Telescope exposes the pattern, with() refactor drops TTFB 30 to 60%.
🐢 Non-optimized Laravel bootstrap in production
Without config:cache, route:cache, view:cache and optimize, every request reloads config and compiles routes. Proper activation gains 50 to 150ms of TTFB.
💾 Sessions in database, not Redis
With database sessions, every request reads and writes SQL. Moving to Redis sessions (and global Redis cache) drops TTFB and frees MySQL for real queries.
📧 Synchronous emails and API calls
A synchronous Mail::send() adds 200-500ms to response time. Moving to Redis queue + Horizon shifts these tasks out of the request lifecycle. Perceived TTFB collapses.
⚙️ PHP 7.x or opcache disabled in production
PHP 8.x with opcache and JIT divides Laravel execution time by 2 to 4. PHP upgrade and opcache + JIT activation are the most cost-effective gains of any PHP stack.
🚀 Traffic climbing but latency drifting
Without Octane (Swoole, RoadRunner, FrankenPHP), Laravel bootstraps on every request. Octane keeps the app in memory and drops TTFB 40 to 100ms for free. Worth considering at sustained 500 req/s.
Laravel optimization methodology
4 steps to transform your performance
1. Telescope or Debugbar profiling
Identify N+1, slow SQL queries, synchronous calls. Map LCP-critical endpoints.
2. Eloquent and MySQL optimization
N+1 refactor (with(), load(), eager loading), SQL index addition on real usage, slow query optimization via explain().
3. Caching and async
Redis for cache and sessions, Horizon queue for async jobs (emails, exports, API calls), routes/config/views cache in production.
4. Octane where relevant
Octane evaluation (Swoole, RoadRunner, FrankenPHP) based on traffic profile. Incremental migration with compatibility testing (singletons, shared memory).
1. Telescope or Debugbar profiling
Identify N+1, slow SQL queries, synchronous calls. Map LCP-critical endpoints.
2. Eloquent and MySQL optimization
N+1 refactor (with(), load(), eager loading), SQL index addition on real usage, slow query optimization via explain().
3. Caching and async
Redis for cache and sessions, Horizon queue for async jobs (emails, exports, API calls), routes/config/views cache in production.
4. Octane where relevant
Octane evaluation (Swoole, RoadRunner, FrankenPHP) based on traffic profile. Incremental migration with compatibility testing (singletons, shared memory).
Mission commitments
Frequently asked questions
Is Laravel Octane worth the complexity?
Telescope or Debugbar for profiling?
Should I move to FrankenPHP?
How are your Laravel engagements structured?
Drop your Laravel TTFB
Data 2023-2026
What my clients say
Excellent work.
Paul has significantly improved the site's speed and perfectly aligned it with Google's recommendations.
Professional, thorough, and efficient, I highly recommend.
Nicolas - April Moto
Digital & E-commerce Director
We are very satisfied with Paul's work. He is quick, available, and particularly effective. Since his arrival, very good results have been observed, both in terms of performance and responsiveness. A real asset for our team.
Léo - Luxury brand
E-commerce Product Owner
I don't know if we've said it enough.
But if you want to improve your loading speed,
Make Google happy and get your Core Web Vitals in the green,
Contact Paul Delcloy.
Florian Darroman - Les Makers
Co-founder
Laravel, high productivity and performance to frame
Laravel powers a significant share of French and international PHP backends, from SMBs to scale-ups. Its productivity (Eloquent, queues, broadcasting, Livewire) ships fast — and that speed easily masks performance problems that only show up at real load: Eloquent N+1, synchronous jobs that should be async, opcache disabled in production, forgotten route and config caches.
The web performance optimization angle on Laravel is mostly backend: Eloquent profiled with Telescope or Debugbar, MySQL indexed on real usage, opcache + PHP 8.x JIT active, Redis for cache and sessions, Octane (Swoole or RoadRunner) when traffic profile justifies it, async queues via Horizon.
Eloquent and N+1, first work-stream
The Eloquent ORM makes joins nearly invisible — that's its strength and its trap. A page looping on 50 entities and accessing their relations without with() triggers 51 SQL queries. On LCP-critical templates, this pattern is among the leading causes of drifting TTFB.
Laravel Telescope or Laravel Debugbar diagnosis exposes N+1 immediately. Refactoring (with(), load(), optimized scopes) drops TTFB by 30 to 60% on affected pages. On some applications, it's the lever that alone gets Core Web Vitals green.
Octane and queues for scale
Beyond classic optimizations, Laravel offers Octane (Swoole, RoadRunner, FrankenPHP) which keeps the application in memory between requests. Laravel bootstrap no longer runs on every request, TTFB typically drops 40 to 100ms for free. On high-traffic stacks, Octane changes scale economics.
Queues (via Redis or SQS, monitored by Horizon) move everything async-able out of the request lifecycle: email sending, PDF generation, third-party API calls, heavy computations. Every synchronous call that becomes async frees perceived latency.
Other expertise Technologies
Angular
Angular optimized: lazy modules, OnPush change detection, SSR Universal or Analog, signals, zone.js elimination. Stable Core Web Vitals on enterprise SPAs.
Learn moreAstro
Astro optimized: islands architecture, image optimization, view transitions, content collections. Near-static sites with green Core Web Vitals.
Learn moreDrupal
Drupal optimized: Render API and cache contexts, Dynamic Page Cache + BigPipe, Views performance, MySQL tuning. Core Web Vitals green on strategic templates.
Learn more