Everything on performance.
11 articles tagged performance, sorted newest first.
PHP 8.4 Lazy Objects: Defer Expensive Initialization in Laravel
You inject a heavy service into a controller, the container builds it on every request, and half your routes never touch it. PHP 8.4 lazy objects let you defer that cost until the object is actually used.
Filament v4 Chart Widget — Polling Interval and Deferred Loading for Fast Dashboards
A four-widget Filament dashboard shouldn't take three seconds to paint. Tune the polling interval, cache the query, and let v4's lazy loading do the rest.
Laravel Octane RoadRunner in Production — Tuning max_jobs, Worker Memory, and Supervisor
The four knobs that decide whether Octane on RoadRunner is a 5x performance win or a 3am pager: worker recycling, memory caps, worker count, and a Supervisor config that survives deploys.
Livewire 4 #[Computed(persist: true)] — Cache Heavy Queries Across Requests
Livewire 4's #[Computed(persist: true)] flag turns a memoised method into a Laravel-cached value that survives every hydration cycle. Here's the gotchas.
Livewire 4 @placeholder: Skeleton Loaders That Match Your Island Layout
Drop a @placeholder block inside a lazy island and your dashboard widgets get a skeleton that matches their layout: no more layout shifts when slow queries finally arrive.
Livewire 4 wire:navigate: Get an SPA Feel Without Building a SPA
One attribute on your anchor tags turns a server-rendered Laravel app into something that feels like Next.js. Here's the prefetch tuning, @persist, and lifecycle hooks most tutorials miss.
Laravel Octane + FrankenPHP: Production Deployment Without Surprises
FrankenPHP turns Octane from a benchmark trick into a production runtime. Here's the actual checklist for shipping it behind Nginx without a 3am incident.
Livewire 4 Islands: Lazy-Load Expensive Components
Livewire 4 islands let you isolate expensive sections so they load independently without blocking the rest of your page. Here's how to use them.
Processing large CSV files with Laravel's lazy collections
Loading a 100k-row CSV with `collect()` will blow your memory limit. Laravel's `LazyCollection` gives you the full Collection API backed by PHP generators: here's how to use it.
Fire HTTP requests after your response with Laravel 12's batch defer
Laravel 12.32 adds defer() to Http::batch(): a clean way to fire outbound HTTP calls after your response is sent, no queue worker required.
Stop Wasting Monitoring Quota: Block Malicious 404s with NGINX
Malicious bots were burning through my Laravel Nightwatch quota by hitting fake routes like /wp-login.php and /.env. Inspired by Michael Dyrynda’s approach using Cloudflare WAF, I built a portable NGINX blocklist that stops these 404s before they reach Laravel: no proxy required.