Deferring tasks with Laravel's defer() helper
– koomai.net - submitted by Sid
A detailed look at how Laravel's defer() helper works.
Read more [koomai.net]
Posts tagged with performance
– koomai.net - submitted by Sid
A detailed look at how Laravel's defer() helper works.
Read more [koomai.net]
– geoligard.com - submitted by Goran Popović
See how to easily modify and override methods found in the framework's Request class in order to handle specific routes with sizeable payloads.
Read more [geoligard.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
– qirolab.com - submitted by Harish Kumar
At Laracon US 2024, Taylor Otwell and the Laravel team introduced a series of "minor" features for Laravel 11 that are anything but minor.
Read more [qirolab.com]
– phare.io - submitted by Nicolas Beauvais
Learn how to use downsampling to show time series data while providing the right balance between user experience, and performance.
Read more [phare.io]
When a single-page application needs to fetch data from a remote source, it needs to do so while remaining responsive and providing feedback to the user during an often slow query. Five patterns help with this
Read more [martinfowler.com]
– mateusguimaraes.com - submitted by Mateus Guimarães
Let's dive on how to enable OPCache and fine-tune php-fpm to handle the most requests as possible on a given machine.
Read more [mateusguimaraes.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Composer's 30 second execution timeout can get in the way of long-running processes executed from a script. This is how you disable it.
Read more [ryangjchandler.co.uk]
– lukapeharda.com - submitted by Luka Peharda
Read how I fixed performance issues when refactoring and optimising legacy code with method signature inconsistency, done unintentionally by developer
Read more [lukapeharda.com]
– geoligard.com - submitted by Goran Popović
PHP-FPM config files usually aren't something that you give too much attention to until something goes wrong. Here's what you can do when that time comes.
Read more [geoligard.com]
At Oh Dear we've updated the OS on our servers and discovered a pretty nice side effect.
Read more [ohdear.app]
– chriswhite.is - submitted by Chris White
I'll show you how to run Laravel Octane with the new FrankenPHP support inside a Docker container to serve your Laravel application.
Read more [chriswhite.is]
– tighten.com - submitted by Jamison Valenta
When it comes to caching, we have to balance performance gains with increased cost of complexity and infrastructure. In our latest post, we talk through a few different caching strategies and approaches so you know the best caching tool for any situation.
Read more [tighten.com]
– pestphp.com - submitted by Nuno Maduro
The PEST team just announced the release of a brand new plugin for Pest PHP: Stressless.
Read more [pestphp.com]
– myray.app - submitted by Spatie
Learn how to detect and resolve N+1 issues in your Laravel project by using Ray.
Read more [myray.app]
– rias.be
Stale While Revalidate (SWR) is a strategy to first return the data from the cache, then send the fetch request, and finally come up with the up-to-date data.
Read more [rias.be]
– blog.shahryartayeb.com - submitted by Shahryar
In this blog post, you will learn what event delegation is, how it can help you optimize your JavaScript code by reducing the number of event listeners, and how to implement it with a practical example.
Read more [blog.shahryartayeb.com]
– www.eloquentarchitecture.com - submitted by John Freeman
We have an export feature that can build an Excel file over the course of many background jobs. Worked beautifully for years. Man, those were the days.
Read more [www.eloquentarchitecture.com]
– fideloper.com - submitted by Chris Fidao
How to use Nginx Unit to server your Laravel application. It turns out, we can get rid of PHP-FPM, and run our apps more efficiently. We see how, and go over the pros and cons.
Read more [fideloper.com]
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]